Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index c8c43bf8cee95247b285ef9e5efc034b47fdcd41..b7040d09da4e877fcfb6e0080784279a698bdadb 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -602,24 +602,12 @@ void FullCodeGenerator::SetExpressionAsStatementPosition(Expression* expr) { |
} |
-void FullCodeGenerator::SetCallPosition(Expression* expr, int argc) { |
+void FullCodeGenerator::SetCallPosition(Expression* expr) { |
if (expr->position() == RelocInfo::kNoPosition) return; |
RecordPosition(masm_, expr->position()); |
if (info_->is_debug()) { |
// Always emit a debug break slot before a call. |
- DebugCodegen::GenerateSlot(masm_, RelocInfo::DEBUG_BREAK_SLOT_AT_CALL, |
- argc); |
- } |
-} |
- |
- |
-void FullCodeGenerator::SetConstructCallPosition(Expression* expr, int argc) { |
- if (expr->position() == RelocInfo::kNoPosition) return; |
- RecordPosition(masm_, expr->position()); |
- if (info_->is_debug()) { |
- // Always emit a debug break slot before a construct call. |
- DebugCodegen::GenerateSlot( |
- masm_, RelocInfo::DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL, argc); |
+ DebugCodegen::GenerateSlot(masm_, RelocInfo::DEBUG_BREAK_SLOT_AT_CALL); |
} |
} |