Index: src/arm64/assembler-arm64.h |
diff --git a/src/arm64/assembler-arm64.h b/src/arm64/assembler-arm64.h |
index 16d027065f94a75c3418aeb6fa87448c3eee2bc6..23662ad7a0f276d6d0cb2f6c9847a3a75646f2cb 100644 |
--- a/src/arm64/assembler-arm64.h |
+++ b/src/arm64/assembler-arm64.h |
@@ -952,7 +952,9 @@ class Assembler : public AssemblerBase { |
// Number of instructions generated for the return sequence in |
// FullCodeGenerator::EmitReturnSequence. |
- static const int kJSRetSequenceInstructions = 7; |
+ static const int kJSReturnSequenceInstructions = 7; |
+ static const int kJSReturnSequenceLength = |
+ kJSReturnSequenceInstructions * kInstructionSize; |
// Distance between start of patched return sequence and the emitted address |
// to jump to. |
static const int kPatchReturnSequenceAddressOffset = 0; |
@@ -960,7 +962,7 @@ class Assembler : public AssemblerBase { |
// Number of instructions necessary to be able to later patch it to a call. |
// See DebugCodegen::GenerateSlot() and |
- // BreakLocationIterator::SetDebugBreakAtSlot(). |
+ // BreakLocation::SetDebugBreakAtSlot(). |
static const int kDebugBreakSlotInstructions = 4; |
static const int kDebugBreakSlotLength = |
kDebugBreakSlotInstructions * kInstructionSize; |