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

Unified Diff: vm/native_arguments.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/native_arguments.cc
===================================================================
--- vm/native_arguments.cc (revision 11528)
+++ vm/native_arguments.cc (working copy)
@@ -13,4 +13,8 @@
*retval_ = value.raw();
}
+void NativeArguments::SetReturnUnsafe(RawObject* value) const {
+ *retval_ = value;
+}
+
} // namespace dart
« vm/bootstrap_natives.h ('K') | « vm/native_arguments.h ('k') | vm/native_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698