Commit c86ad363 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix GC issue in Runtime_DebugEvaluate.

R=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/19520006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15747 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 608fb980
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment