Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 23df48b8b1e09a00ee434be3da2f4d2340559d26..086e05647b04d4f7ce5eddc09970f6447e71ef55 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1723,6 +1723,7 @@ class FunctionLiteral: public Expression { |
int start_position, |
int end_position, |
bool is_expression, |
+ bool is_anonymous, |
bool has_duplicate_parameters) |
: Expression(isolate), |
name_(name), |
@@ -1739,6 +1740,7 @@ class FunctionLiteral: public Expression { |
function_token_position_(RelocInfo::kNoPosition), |
inferred_name_(HEAP->empty_string()), |
is_expression_(is_expression), |
+ is_anonymous_(is_anonymous), |
pretenure_(false), |
has_duplicate_parameters_(has_duplicate_parameters) { |
} |
@@ -1753,6 +1755,7 @@ class FunctionLiteral: public Expression { |
int start_position() const { return start_position_; } |
int end_position() const { return end_position_; } |
bool is_expression() const { return is_expression_; } |
+ bool is_anonymous() const { return is_anonymous_; } |
bool strict_mode() const; |
int materialized_literal_count() { return materialized_literal_count_; } |
@@ -1797,6 +1800,7 @@ class FunctionLiteral: public Expression { |
int function_token_position_; |
Handle<String> inferred_name_; |
bool is_expression_; |
+ bool is_anonymous_; |
bool pretenure_; |
bool has_duplicate_parameters_; |
}; |