Index: src/debug/debug-evaluate.cc |
diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc |
index c6fafa557b7da20e706578f89ee89b5cc8ef5eef..c709d0da3e3a0e492197dcfeff4dc5fc15e97bd2 100644 |
--- a/src/debug/debug-evaluate.cc |
+++ b/src/debug/debug-evaluate.cc |
@@ -261,7 +261,7 @@ namespace { |
bool IntrinsicHasNoSideEffect(Runtime::FunctionId id) { |
switch (id) { |
- // Whitelist for intrinsics amd runtime functions. |
+ // Whitelist for intrinsics and runtime functions. |
// Conversions. |
case Runtime::kToInteger: |
case Runtime::kInlineToInteger: |
@@ -405,6 +405,8 @@ bool BytecodeHasNoSideEffect(interpreter::Bytecode bytecode) { |
bool BuiltinHasNoSideEffect(Builtins::Name id) { |
switch (id) { |
// Whitelist for builtins. |
+ // Object builtins. |
+ case Builtins::kObjectPrototypeValueOf: |
// Array builtins. |
case Builtins::kArrayCode: |
case Builtins::kArrayIndexOf: |