Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 3d5004041ed3279b41eb664ea1f430cfb9d72df5..005b0fe97e73fb2d41e160810b51aecef142f88f 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -706,16 +706,6 @@ class DeclarationScope : public Scope { |
return params_[index]; |
} |
- // Returns the default function arity excluding default or rest parameters. |
- // This will be used to set the length of the function, by default. |
- // Class field initializers use this property to indicate the number of |
- // fields being initialized. |
- int arity() const { return arity_; } |
- |
- // Normal code should not need to call this. Class field initializers use this |
- // property to indicate the number of fields being initialized. |
- void set_arity(int arity) { arity_ = arity; } |
- |
// Returns the number of formal parameters, excluding a possible rest |
// parameter. Examples: |
// function foo(a, b) {} ==> 2 |
@@ -848,8 +838,6 @@ class DeclarationScope : public Scope { |
// This scope uses "super" property ('super.foo'). |
bool scope_uses_super_property_ : 1; |
- // Info about the parameter list of a function. |
- int arity_; |
// Parameter list in source order. |
ZoneList<Variable*> params_; |
// Map of function names to lists of functions defined in sloppy blocks |