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

Unified Diff: runtime/vm/resolver.h

Issue 19200002: Change resolving of instance methods to check early for name mismatch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/resolver.h
===================================================================
--- runtime/vm/resolver.h (revision 25039)
+++ runtime/vm/resolver.h (working copy)
@@ -16,6 +16,7 @@
class Library;
class RawFunction;
class String;
+class ArgumentsDescriptor;
// Resolver abstracts functionality needed to resolve dart functions at
@@ -25,14 +26,12 @@
// Resolve specified dart instance function.
static RawFunction* ResolveDynamic(const Instance& receiver,
const String& function_name,
- int num_arguments,
- int num_named_arguments);
+ const ArgumentsDescriptor& args_desc);
static RawFunction* ResolveDynamicForReceiverClass(
const Class& receiver_class,
const String& function_name,
- int num_arguments,
- int num_named_arguments);
+ const ArgumentsDescriptor& args_desc);
static RawFunction* ResolveDynamicAnyArgs(
const Class& receiver_class,
@@ -52,7 +51,7 @@
static RawFunction* ResolveStatic(const Library& library,
const String& cls_name,
const String& function_name,
- int num_arguments,
+ intptr_t num_arguments,
const Array& argument_names,
StaticResolveType resolve_type);
@@ -64,7 +63,7 @@
// Resolve specified dart static function with specified arity.
static RawFunction* ResolveStatic(const Class& cls,
const String& function_name,
- int num_arguments,
+ intptr_t num_arguments,
const Array& argument_names,
StaticResolveType resolve_type);
};
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698