Commit 4805790c authored by franzih's avatar franzih Committed by Commit bot

[ast] Delete unused variables.

BUG=

Review-Url: https://codereview.chromium.org/2596803002
Cr-Commit-Position: refs/heads/master@{#42131}
parent fc327e23
...@@ -469,9 +469,6 @@ class Block final : public BreakableStatement { ...@@ -469,9 +469,6 @@ class Block final : public BreakableStatement {
class IgnoreCompletionField class IgnoreCompletionField
: public BitField<bool, BreakableStatement::kNextBitFieldIndex, 1> {}; : public BitField<bool, BreakableStatement::kNextBitFieldIndex, 1> {};
protected:
static const uint8_t kNextBitFieldIndex = IgnoreCompletionField::kNext;
}; };
...@@ -487,9 +484,6 @@ class DoExpression final : public Expression { ...@@ -487,9 +484,6 @@ class DoExpression final : public Expression {
} }
bool IsAnonymousFunctionDefinition() const; bool IsAnonymousFunctionDefinition() const;
protected:
static const uint8_t kNextBitFieldIndex = Expression::kNextBitFieldIndex;
private: private:
friend class AstNodeFactory; friend class AstNodeFactory;
...@@ -521,8 +515,6 @@ class Declaration : public AstNode { ...@@ -521,8 +515,6 @@ class Declaration : public AstNode {
Declaration(VariableProxy* proxy, Scope* scope, int pos, NodeType type) Declaration(VariableProxy* proxy, Scope* scope, int pos, NodeType type)
: AstNode(pos, type), proxy_(proxy), scope_(scope), next_(nullptr) {} : AstNode(pos, type), proxy_(proxy), scope_(scope), next_(nullptr) {}
static const uint8_t kNextBitFieldIndex = AstNode::kNextBitFieldIndex;
private: private:
VariableProxy* proxy_; VariableProxy* proxy_;
// Nested scope from which the declaration originated. // Nested scope from which the declaration originated.
...@@ -781,9 +773,6 @@ class ForInStatement final : public ForEachStatement { ...@@ -781,9 +773,6 @@ class ForInStatement final : public ForEachStatement {
class ForInTypeField class ForInTypeField
: public BitField<ForInType, ForEachStatement::kNextBitFieldIndex, 1> {}; : public BitField<ForInType, ForEachStatement::kNextBitFieldIndex, 1> {};
protected:
static const uint8_t kNextBitFieldIndex = ForInTypeField::kNext;
}; };
...@@ -1482,7 +1471,6 @@ class ObjectLiteral final : public MaterializedLiteral { ...@@ -1482,7 +1471,6 @@ class ObjectLiteral final : public MaterializedLiteral {
int local_id(int n) const { return base_id() + parent_num_ids() + n; } int local_id(int n) const { return base_id() + parent_num_ids() + n; }
uint32_t boilerplate_properties_; uint32_t boilerplate_properties_;
FeedbackVectorSlot slot_;
Handle<FixedArray> constant_properties_; Handle<FixedArray> constant_properties_;
ZoneList<Property*>* properties_; ZoneList<Property*>* properties_;
...@@ -1492,9 +1480,6 @@ class ObjectLiteral final : public MaterializedLiteral { ...@@ -1492,9 +1480,6 @@ class ObjectLiteral final : public MaterializedLiteral {
}; };
class MayStoreDoublesField class MayStoreDoublesField
: public BitField<bool, HasElementsField::kNext, 1> {}; : public BitField<bool, HasElementsField::kNext, 1> {};
protected:
static const uint8_t kNextBitFieldIndex = MayStoreDoublesField::kNext;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment