Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: runtime/vm/native_entry_test.cc

Issue 12260026: Add support for object pool (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/native_entry_test.cc
===================================================================
--- runtime/vm/native_entry_test.cc (revision 18597)
+++ runtime/vm/native_entry_test.cc (working copy)
@@ -94,9 +94,9 @@
DartFrameIterator iterator;
iterator.NextFrame(); // Skip native call.
StackFrame* static_caller_frame = iterator.NextFrame();
+ const Code& code = Code::Handle(static_caller_frame->LookupDartCode());
uword target_address =
- CodePatcher::GetStaticCallTargetAt(static_caller_frame->pc());
- const Code& code = Code::Handle(static_caller_frame->LookupDartCode());
+ CodePatcher::GetStaticCallTargetAt(static_caller_frame->pc(), code);
const Function& target_function =
Function::Handle(code.GetStaticCallTargetFunctionAt(
static_caller_frame->pc()));

Powered by Google App Engine
This is Rietveld 408576698