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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11360116: Pass closure object as first implicit argument to closure functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 14694)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -2524,6 +2524,8 @@
intptr_t token_pos() const { return ast_node_.token_pos(); }
+ const Function& function() const { return ast_node_.function(); }
+
const String& native_name() const {
return ast_node_.native_c_function_name();
}
@@ -2532,16 +2534,6 @@
return ast_node_.native_c_function();
}
- intptr_t argument_count() const { return ast_node_.argument_count(); }
-
- bool has_optional_parameters() const {
- return ast_node_.has_optional_parameters();
- }
-
- bool is_native_instance_closure() const {
- return ast_node_.is_native_instance_closure();
- }
-
virtual void PrintOperandsTo(BufferFormatter* f) const;
virtual bool CanDeoptimize() const { return false; }
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698