Index: src/ast-value-factory.h |
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h |
index 774e5343de5993d4332807f1a76ee3f14f8cd028..071ca9ce9cc18abf23e17f09c31e69ca69a8ccce 100644 |
--- a/src/ast-value-factory.h |
+++ b/src/ast-value-factory.h |
@@ -194,7 +194,6 @@ class AstValue : public ZoneObject { |
NUMBER, |
SMI, |
BOOLEAN, |
- STRING_ARRAY, |
NULL_TYPE, |
UNDEFINED, |
THE_HOLE |
@@ -213,10 +212,6 @@ class AstValue : public ZoneObject { |
explicit AstValue(bool b) : type_(BOOLEAN) { bool_ = b; } |
- explicit AstValue(ZoneList<const AstRawString*>* s) : type_(STRING_ARRAY) { |
- strings_ = s; |
- } |
- |
explicit AstValue(Type t) : type_(t) { |
DCHECK(t == NULL_TYPE || t == UNDEFINED || t == THE_HOLE); |
} |
@@ -239,33 +234,33 @@ class AstValue : public ZoneObject { |
// For generating constants. |
-#define STRING_CONSTANTS(F) \ |
- F(anonymous_function, "(anonymous function)") \ |
- F(arguments, "arguments") \ |
- F(constructor, "constructor") \ |
- F(done, "done") \ |
- F(dot, ".") \ |
- F(dot_for, ".for") \ |
- F(dot_generator, ".generator") \ |
- F(dot_generator_object, ".generator_object") \ |
- F(dot_iterator, ".iterator") \ |
- F(dot_module, ".module") \ |
- F(dot_result, ".result") \ |
- F(empty, "") \ |
- F(eval, "eval") \ |
- F(initialize_const_global, "initializeConstGlobal") \ |
- F(initialize_var_global, "initializeVarGlobal") \ |
- F(make_reference_error, "MakeReferenceError") \ |
- F(make_syntax_error, "MakeSyntaxError") \ |
- F(make_type_error, "MakeTypeError") \ |
- F(module, "module") \ |
- F(native, "native") \ |
- F(next, "next") \ |
- F(proto, "__proto__") \ |
- F(prototype, "prototype") \ |
- F(this, "this") \ |
- F(use_asm, "use asm") \ |
- F(use_strict, "use strict") \ |
+#define STRING_CONSTANTS(F) \ |
+ F(anonymous_function, "(anonymous function)") \ |
+ F(arguments, "arguments") \ |
+ F(constructor, "constructor") \ |
+ F(done, "done") \ |
+ F(dot, ".") \ |
+ F(dot_for, ".for") \ |
+ F(dot_generator, ".generator") \ |
+ F(dot_generator_object, ".generator_object") \ |
+ F(dot_iterator, ".iterator") \ |
+ F(dot_module, ".module") \ |
+ F(dot_result, ".result") \ |
+ F(empty, "") \ |
+ F(eval, "eval") \ |
+ F(initialize_const_global, "initializeConstGlobal") \ |
+ F(initialize_var_global, "initializeVarGlobal") \ |
+ F(make_reference_error, "MakeReferenceErrorEmbedded") \ |
+ F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ |
+ F(make_type_error, "MakeTypeErrorEmbedded") \ |
+ F(module, "module") \ |
+ F(native, "native") \ |
+ F(next, "next") \ |
+ F(proto, "__proto__") \ |
+ F(prototype, "prototype") \ |
+ F(this, "this") \ |
+ F(use_asm, "use asm") \ |
+ F(use_strict, "use strict") \ |
F(value, "value") |
#define OTHER_CONSTANTS(F) \ |