Index: src/debug/debug-evaluate.cc |
diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc |
index 96cd98d3f26a2b47e997cb69dada1c1a92fb8744..b36d8a21abc873419b4e33f5285aceef1500619d 100644 |
--- a/src/debug/debug-evaluate.cc |
+++ b/src/debug/debug-evaluate.cc |
@@ -306,7 +306,7 @@ bool BytecodeHasNoSideEffect(interpreter::Bytecode bytecode) { |
typedef interpreter::Bytecode Bytecode; |
typedef interpreter::Bytecodes Bytecodes; |
if (Bytecodes::IsWithoutExternalSideEffects(bytecode)) return true; |
- if (Bytecodes::IsCallOrNew(bytecode)) return true; |
+ if (Bytecodes::IsCallOrConstruct(bytecode)) return true; |
if (Bytecodes::WritesBooleanToAccumulator(bytecode)) return true; |
if (Bytecodes::IsJumpIfToBoolean(bytecode)) return true; |
if (Bytecodes::IsPrefixScalingBytecode(bytecode)) return true; |