Index: src/debug/debug-evaluate.cc |
diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc |
index 1be25895cef450933d2a69b505d746a0f84d75d2..eca0b360d976df87a017388467bbdd55139ebadb 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: |