Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 820af7082812d68ee025f27bc11ab82a71ea0a49..00185ebdfd4c0b41ff8bd94b96fdcf069e05347a 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -612,13 +612,13 @@ void FullCodeGenerator::SetCallPosition(Expression* expr, int argc) { |
} |
-void FullCodeGenerator::SetConstructCallPosition(Expression* expr) { |
+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); |
+ DebugCodegen::GenerateSlot( |
+ masm_, RelocInfo::DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL, argc); |
} |
} |