| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index c22a7f65a8a3e37fa292ff03eca8abc371144b1a..9c5cdf9172198933f417ab92fee593548dc8e97e 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -12614,11 +12614,13 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugEvaluate) {
|
| if (!maybe_result->ToObject(&evaluate_result_object)) return maybe_result;
|
| }
|
|
|
| + Handle<Object> result(evaluate_result_object, isolate);
|
| +
|
| // Write back potential changes to materialized stack locals to the stack.
|
| UpdateStackLocalsFromMaterializedObject(
|
| isolate, materialized, function, frame, inlined_jsframe_index);
|
|
|
| - return evaluate_result_object;
|
| + return *result;
|
| }
|
|
|
|
|
|
|