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

Unified Diff: vm/code_patcher_ia32_test.cc

Issue 10874072: Use the return value of vm native methods to set the return value, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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: vm/code_patcher_ia32_test.cc
===================================================================
--- vm/code_patcher_ia32_test.cc (revision 11528)
+++ vm/code_patcher_ia32_test.cc (working copy)
@@ -24,8 +24,8 @@
const bool has_opt_params = false;
const String& native_name =
String::ZoneHandle(Symbols::New("TestStaticCallPatching"));
- NativeFunction native_function = reinterpret_cast<NativeFunction>(
- NATIVE_ENTRY_FUNCTION(TestStaticCallPatching));
+ NativeFunction native_function =
+ reinterpret_cast<NativeFunction>(TestStaticCallPatching);
node_seq->Add(new ReturnNode(Scanner::kDummyTokenIndex,
new NativeBodyNode(Scanner::kDummyTokenIndex,
native_name,

Powered by Google App Engine
This is Rietveld 408576698