Revision: 15747
Author: [email protected]
Date: Thu Jul 18 05:25:22 2013
Log: Fix GC issue in Runtime_DebugEvaluate.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/19520006
http://code.google.com/p/v8/source/detail?r=15747
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Wed Jul 17 09:38:49 2013
+++ /branches/bleeding_edge/src/runtime.cc Thu Jul 18 05:25:22 2013
@@ -12613,12 +12613,14 @@
DebugEvaluate(isolate, context, context_extension, receiver, source);
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;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.