Chromium Code Reviews| Index: src/ast.h |
| diff --git a/src/ast.h b/src/ast.h |
| index 0882b250ffde424f2f86925d1416c4fa54288f54..747f67aa2ba0c77cc649c0bd67f6f3f1653886e4 100644 |
| --- a/src/ast.h |
| +++ b/src/ast.h |
| @@ -2297,6 +2297,12 @@ class FunctionLiteral V8_FINAL : public Expression { |
| kNotGenerator |
| }; |
| + enum ArityRestriction { |
| + NORMAL_ARITY, |
| + GETTER_ARITY, |
| + SETTER_ARITY |
| + }; |
| + |
| DECLARE_NODE_TYPE(FunctionLiteral) |
| Handle<String> name() const { return name_; } |