Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index 4607aff56f729733396308d1f791191f6acbcd4c..fc61ca28e1ebb1d96131fb3173f160bf64e0c0e1 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -660,9 +660,12 @@ class FullCodeGenerator: public AstVisitor { |
// This is used in loop headers where we want to break for each iteration. |
void SetExpressionAsStatementPosition(Expression* expr); |
- void SetCallPosition(Expression* expr, int argc); |
+ void SetCallPosition(Expression* expr); |
- void SetConstructCallPosition(Expression* expr, int argc); |
+ void SetConstructCallPosition(Expression* expr) { |
+ // Currently call and construct calls are treated the same wrt debugging. |
+ SetCallPosition(expr); |
+ } |
// Non-local control flow support. |
void EnterTryBlock(int handler_index, Label* handler); |