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

Unified Diff: src/ast.h

Issue 680993003: Classes: Add basic support for properties (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 6f6cb1e554419acf461eff194be087c92cf5c44e..f5c077173c073c531685fcc82c4d58143bf65f09 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -1512,6 +1512,8 @@ class ObjectLiteralProperty FINAL : public ZoneObject {
void set_emit_store(bool emit_store);
bool emit_store();
+ bool is_static() const { return is_static_; }
+
protected:
template<class> friend class AstNodeFactory;

Powered by Google App Engine
This is Rietveld 408576698