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

Unified Diff: vm/code_generator.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_generator.cc
===================================================================
--- vm/code_generator.cc (revision 11528)
+++ vm/code_generator.cc (working copy)
@@ -792,7 +792,7 @@
const Instance& receiver = Instance::CheckedHandle(arguments.At(0));
const Code& code = Code::Handle(
ResolveCompileInstanceCallTarget(isolate, receiver));
- arguments.SetReturn(Code::Handle(code.raw()));
+ arguments.SetReturn(code);
}

Powered by Google App Engine
This is Rietveld 408576698