Index: src/debug/debug-frames.cc |
diff --git a/src/debug/debug-frames.cc b/src/debug/debug-frames.cc |
index b1a8af256934d3e5d8ba93c49a9bce0d7c5e8d62..5eeb42a9e281937cf1dd96bb3cf3eff6bdd4c750 100644 |
--- a/src/debug/debug-frames.cc |
+++ b/src/debug/debug-frames.cc |
@@ -138,9 +138,7 @@ |
if (value->IsTheHole(isolate_)) { |
value = isolate_->factory()->undefined_value(); |
} |
- if (value->IsOptimizedOut(isolate_)) { |
- value = isolate_->factory()->undefined_value(); |
- } |
+ if (value->IsOptimizedOut()) value = isolate_->factory()->undefined_value(); |
JSObject::SetOwnPropertyIgnoreAttributes(target, name, value, NONE).Check(); |
} |
} |