Account for embedded constant pool pointer in Live Edit frame.

R=mvstanton@chromium.org, yangguo@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1491683003

Cr-Commit-Position: refs/heads/master@{#32518}
This commit is contained in:
mbrandy 2015-12-02 06:30:08 -08:00 committed by Commit bot
parent e1866c8f6f
commit d0b30d0276

View File

@ -172,7 +172,8 @@ class LiveEdit : AllStatic {
*/
// A size of frame base including fp. Padding words starts right above
// the base.
static const int kFrameDropperFrameSize = 4;
static const int kFrameDropperFrameSize =
4 + StandardFrameConstants::kCPSlotCount;
// A number of words that should be reserved on stack for the LiveEdit use.
// Stored on stack in form of Smi.
static const int kFramePaddingInitialSize = 1;