| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index cfcb05702435c24499708107f1b132b7e8f77b7b..bd43e12b968f8039e2f1fe96e5bd1a6e87a5a2d2 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1145,16 +1145,11 @@ class SwitchStatement V8_FINAL : public BreakableStatement {
|
| void Initialize(Expression* tag, ZoneList<CaseClause*>* cases) {
|
| tag_ = tag;
|
| cases_ = cases;
|
| - switch_type_ = UNKNOWN_SWITCH;
|
| }
|
|
|
| Expression* tag() const { return tag_; }
|
| ZoneList<CaseClause*>* cases() const { return cases_; }
|
|
|
| - enum SwitchType { UNKNOWN_SWITCH, SMI_SWITCH, STRING_SWITCH, GENERIC_SWITCH };
|
| - SwitchType switch_type() const { return switch_type_; }
|
| - void set_switch_type(SwitchType switch_type) { switch_type_ = switch_type; }
|
| -
|
| protected:
|
| SwitchStatement(Isolate* isolate, ZoneStringList* labels, int pos)
|
| : BreakableStatement(isolate, labels, TARGET_FOR_ANONYMOUS, pos),
|
| @@ -1164,7 +1159,6 @@ class SwitchStatement V8_FINAL : public BreakableStatement {
|
| private:
|
| Expression* tag_;
|
| ZoneList<CaseClause*>* cases_;
|
| - SwitchType switch_type_;
|
| };
|
|
|
|
|
|
|