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

Unified Diff: runtime/vm/dart_entry.h

Issue 10665038: Remove old code generator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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: runtime/vm/dart_entry.h
===================================================================
--- runtime/vm/dart_entry.h (revision 9088)
+++ runtime/vm/dart_entry.h (working copy)
@@ -54,6 +54,14 @@
const Closure& closure,
const GrowableArray<const Object*>& arguments,
const Array& optional_arguments_names);
+
+ // Allocate and return an arguments descriptor.
+ // Let 'num_names' be the length of 'optional_arguments_names'.
+ // Treat the first 'num_arguments - num_names' arguments as positional and
+ // treat the following 'num_names' arguments as named optional arguments.
+ static const Array& ArgumentsDescriptor(
+ int num_arguments,
+ const Array& optional_arguments_names);
};
« runtime/vm/compiler.cc ('K') | « runtime/vm/compiler.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698