Chromium Code Reviews| Index: src/ast.h |
| diff --git a/src/ast.h b/src/ast.h |
| index 39756678dc807fb8a8bdd4bd378aebcf1132f7d7..fd96e670b6c2722e5e75d7744fb8bd5723c1fd03 100644 |
| --- a/src/ast.h |
| +++ b/src/ast.h |
| @@ -2094,6 +2094,9 @@ class FunctionLiteral: public Expression { |
| bool is_parenthesized() { |
|
ulan
2012/08/16 10:20:03
Maybe add a comment describing the cases when this
Michael Starzinger
2012/08/16 11:19:21
Done.
|
| return IsParenthesized::decode(bitfield_) == kIsParenthesized; |
| } |
| + void set_parenthesized() { |
| + bitfield_ = IsParenthesized::update(bitfield_, kIsParenthesized); |
| + } |
| int ast_node_count() { return ast_properties_.node_count(); } |
| AstProperties::Flags* flags() { return ast_properties_.flags(); } |