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

Unified Diff: src/ast.h

Issue 546075: First step of refactoring expression contexts in the toplevel code... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 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 | « src/arm/fast-codegen-arm.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
===================================================================
--- src/ast.h (revision 3642)
+++ src/ast.h (working copy)
@@ -180,8 +180,6 @@
kTestValue
};
- Expression() : context_(kUninitialized) {}
-
virtual Expression* AsExpression() { return this; }
virtual bool IsValidJSON() { return false; }
@@ -200,12 +198,8 @@
// Static type information for this expression.
StaticType* type() { return &type_; }
- Context context() { return context_; }
- void set_context(Context context) { context_ = context; }
-
private:
StaticType type_;
- Context context_;
};
« no previous file with comments | « src/arm/fast-codegen-arm.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698