summaryrefslogtreecommitdiffstats
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 89966a6f..f918a3a3 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -175,6 +175,8 @@ class CompileTimeValue: public AllStatic {
static bool IsCompileTimeValue(Expression* expression);
+ static bool ArrayLiteralElementNeedsInitialization(Expression* value);
+
// Get the value as a compile time value.
static Handle<FixedArray> GetValue(Expression* expression);