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

Unified Diff: src/ast-value-factory.h

Issue 885643004: new classes: assert that constructors are not callable and rewrite 'return;' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/ast.h ('k') | src/code-stubs.h » ('j') | test/mjsunit/mjsunit.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-value-factory.h
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
index dd079d3ebd89217cf8188a02fc5b811378cc8b31..47702279421bcb3139ed735733ff1b7710f1bec2 100644
--- a/src/ast-value-factory.h
+++ b/src/ast-value-factory.h
@@ -260,7 +260,8 @@ class AstValue : public ZoneObject {
F(this, "this") \
F(use_asm, "use asm") \
F(use_strict, "use strict") \
- F(value, "value")
+ F(value, "value") \
+ F(is_construct_call, "_IsConstructCall")
#define OTHER_CONSTANTS(F) \
F(true_value) \
« no previous file with comments | « src/ast.h ('k') | src/code-stubs.h » ('j') | test/mjsunit/mjsunit.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698