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

Unified Diff: runtime/lib/object.cc

Issue 11468016: Rename GET_NATIVE_ARGUMENT macro to GET_NON_NULL_NATIVE_ARGUMENT. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/lib/regexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object.cc
===================================================================
--- runtime/lib/object.cc (revision 15918)
+++ runtime/lib/object.cc (working copy)
@@ -20,8 +20,9 @@
DEFINE_NATIVE_ENTRY(Object_noSuchMethod, 3) {
const Instance& instance =
Instance::CheckedHandle(arguments->NativeArgAt(0));
- GET_NATIVE_ARGUMENT(String, function_name, arguments->NativeArgAt(1));
- GET_NATIVE_ARGUMENT(Array, func_args, arguments->NativeArgAt(2));
+ GET_NON_NULL_NATIVE_ARGUMENT(
+ String, function_name, arguments->NativeArgAt(1));
+ GET_NON_NULL_NATIVE_ARGUMENT(Array, func_args, arguments->NativeArgAt(2));
const Object& null_object = Object::Handle(Object::null());
GrowableArray<const Object*> dart_arguments(4);
dart_arguments.Add(&instance);
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/lib/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698