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

Unified Diff: runtime/vm/code_generator.cc

Issue 11570042: Implement InvocationMirror.invokeOn method in the vm (issue 7227). (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/vm/bootstrap_natives.h ('k') | tests/language/invocation_mirror_invoke_on_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
===================================================================
--- runtime/vm/code_generator.cc (revision 16186)
+++ runtime/vm/code_generator.cc (working copy)
@@ -1239,7 +1239,7 @@
const String& getter_name = String::Handle(Field::GetterName(target_name));
const int kNumArguments = 1;
const int kNumNamedArguments = 0;
- const Function& getter = Function::ZoneHandle(
+ const Function& getter = Function::Handle(
Resolver::ResolveDynamicForReceiverClass(receiver_class,
getter_name,
kNumArguments,
@@ -1295,7 +1295,7 @@
ASSERT(!invocation_mirror_class.IsNull());
const String& allocation_function_name =
String::Handle(Symbols::AllocateInvocationMirror());
- const Function& allocation_function = Function::ZoneHandle(
+ const Function& allocation_function = Function::Handle(
Resolver::ResolveStaticByName(invocation_mirror_class,
allocation_function_name,
Resolver::kIsQualified));
@@ -1313,11 +1313,11 @@
const String& function_name = String::Handle(Symbols::NoSuchMethod());
const int kNumArguments = 2;
const int kNumNamedArguments = 0;
- const Function& function =
- Function::ZoneHandle(Resolver::ResolveDynamic(receiver,
- function_name,
- kNumArguments,
- kNumNamedArguments));
+ const Function& function = Function::Handle(
+ Resolver::ResolveDynamic(receiver,
+ function_name,
+ kNumArguments,
+ kNumNamedArguments));
ASSERT(!function.IsNull());
GrowableArray<const Object*> invoke_arguments(1);
invoke_arguments.Add(&invocation_mirror);
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | tests/language/invocation_mirror_invoke_on_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698