Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 0841b057f2d48ed5d406b6bc232439068f87c9c3..923214b927fda7740ea97e601cc9f13396580f41 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -508,9 +508,7 @@ void RelocInfoWriter::Write(const RelocInfo* rinfo) { |
if (RelocInfo::IsComment(rmode)) { |
WriteData(rinfo->data()); |
} else if (RelocInfo::IsConstPool(rmode) || |
- RelocInfo::IsVeneerPool(rmode) || |
- RelocInfo::IsDebugBreakSlotAtCall(rmode) || |
- RelocInfo::IsDebugBreakSlotAtConstructCall(rmode)) { |
+ RelocInfo::IsVeneerPool(rmode)) { |
WriteIntData(static_cast<int>(rinfo->data())); |
} |
} |
@@ -701,9 +699,7 @@ void RelocIterator::next() { |
Advance(kIntSize); |
} |
} else if (RelocInfo::IsConstPool(rmode) || |
- RelocInfo::IsVeneerPool(rmode) || |
- RelocInfo::IsDebugBreakSlotAtCall(rmode) || |
- RelocInfo::IsDebugBreakSlotAtConstructCall(rmode)) { |
+ RelocInfo::IsVeneerPool(rmode)) { |
if (SetMode(rmode)) { |
AdvanceReadInt(); |
return; |
@@ -833,8 +829,6 @@ const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) { |
return "debug break slot at return"; |
case DEBUG_BREAK_SLOT_AT_CALL: |
return "debug break slot at call"; |
- case DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL: |
- return "debug break slot at construct call"; |
case CODE_AGE_SEQUENCE: |
return "code age sequence"; |
case GENERATOR_CONTINUATION: |
@@ -931,7 +925,6 @@ void RelocInfo::Verify(Isolate* isolate) { |
case DEBUG_BREAK_SLOT_AT_POSITION: |
case DEBUG_BREAK_SLOT_AT_RETURN: |
case DEBUG_BREAK_SLOT_AT_CALL: |
- case DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL: |
case GENERATOR_CONTINUATION: |
case NONE32: |
case NONE64: |
@@ -948,12 +941,6 @@ void RelocInfo::Verify(Isolate* isolate) { |
#endif // VERIFY_HEAP |
-int RelocInfo::DebugBreakCallArgumentsCount(intptr_t data) { |
- return static_cast<int>(data); |
-} |
- |
- |
-// ----------------------------------------------------------------------------- |
// Implementation of ExternalReference |
void ExternalReference::SetUp() { |
@@ -1883,11 +1870,10 @@ void Assembler::RecordGeneratorContinuation() { |
} |
-void Assembler::RecordDebugBreakSlot(RelocInfo::Mode mode, int call_argc) { |
+void Assembler::RecordDebugBreakSlot(RelocInfo::Mode mode) { |
EnsureSpace ensure_space(this); |
DCHECK(RelocInfo::IsDebugBreakSlot(mode)); |
- intptr_t data = static_cast<intptr_t>(call_argc); |
- RecordRelocInfo(mode, data); |
+ RecordRelocInfo(mode); |
} |