| Index: src/x64/cfg-x64.cc
|
| diff --git a/src/x64/cfg-x64.cc b/src/x64/cfg-x64.cc
|
| index 8d01ed28e13dcf9d7e435abe2789e3942d901576..34ddbbf0258c3c814e1f74d62852887fdae9fc68 100644
|
| --- a/src/x64/cfg-x64.cc
|
| +++ b/src/x64/cfg-x64.cc
|
| @@ -114,8 +114,8 @@ void ExitNode::Compile(MacroAssembler* masm) {
|
| int count = CfgGlobals::current()->fun()->scope()->num_parameters();
|
| __ ret((count + 1) * kPointerSize);
|
| // Add padding that will be overwritten by a debugger breakpoint.
|
| - // "movq rsp, rbp; pop rbp" has length 5. "ret k" has length 2.
|
| - const int kPadding = Debug::kX64JSReturnSequenceLength - 5 - 2;
|
| + // "movq rsp, rbp; pop rbp" has length 4. "ret k" has length 3.
|
| + const int kPadding = Debug::kX64JSReturnSequenceLength - 4 - 3;
|
| for (int i = 0; i < kPadding; ++i) {
|
| __ int3();
|
| }
|
|
|