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

Unified Diff: runtime/vm/ast.h

Issue 11633054: Implemented class literals in the VM. (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 | « no previous file | runtime/vm/flow_graph_builder.h » ('j') | tests/language/language.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
===================================================================
--- runtime/vm/ast.h (revision 16455)
+++ runtime/vm/ast.h (working copy)
@@ -345,6 +345,10 @@
const AbstractType& type() const { return type_; }
+ virtual const Instance* EvalConstExpr() const {
+ return &type();
+ }
regis 2012/12/22 00:04:50 You need to check if the type is instantiated and
Tom Ball 2012/12/27 22:13:44 Done.
+
virtual void VisitChildren(AstNodeVisitor* visitor) const { }
DECLARE_COMMON_NODE_FUNCTIONS(TypeNode);
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.h » ('j') | tests/language/language.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698