Commit f3fd12ad authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[ast] Remove two unused assembler label fields.

R=marja@chromium.org

Change-Id: I3986d7a5627849ac09ff563fc57aac9bbaeaefa7
Reviewed-on: https://chromium-review.googlesource.com/543497
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46102}
parent 234d1f8a
...@@ -365,9 +365,6 @@ class BreakableStatement : public Statement { ...@@ -365,9 +365,6 @@ class BreakableStatement : public Statement {
// if it is != NULL, guaranteed to contain at least one entry. // if it is != NULL, guaranteed to contain at least one entry.
ZoneList<const AstRawString*>* labels() const { return labels_; } ZoneList<const AstRawString*>* labels() const { return labels_; }
// Code generation
Label* break_target() { return &break_target_; }
// Testers. // Testers.
bool is_target_for_anonymous() const { bool is_target_for_anonymous() const {
return BreakableTypeField::decode(bit_field_) == TARGET_FOR_ANONYMOUS; return BreakableTypeField::decode(bit_field_) == TARGET_FOR_ANONYMOUS;
...@@ -378,7 +375,6 @@ class BreakableStatement : public Statement { ...@@ -378,7 +375,6 @@ class BreakableStatement : public Statement {
return BreakableTypeField::decode(bit_field_); return BreakableTypeField::decode(bit_field_);
} }
Label break_target_;
ZoneList<const AstRawString*>* labels_; ZoneList<const AstRawString*>* labels_;
class BreakableTypeField class BreakableTypeField
...@@ -524,9 +520,6 @@ class IterationStatement : public BreakableStatement { ...@@ -524,9 +520,6 @@ class IterationStatement : public BreakableStatement {
return osr_id_; return osr_id_;
} }
// Code generation
Label* continue_target() { return &continue_target_; }
protected: protected:
IterationStatement(ZoneList<const AstRawString*>* labels, int pos, IterationStatement(ZoneList<const AstRawString*>* labels, int pos,
NodeType type) NodeType type)
...@@ -547,7 +540,6 @@ class IterationStatement : public BreakableStatement { ...@@ -547,7 +540,6 @@ class IterationStatement : public BreakableStatement {
BailoutId osr_id_; BailoutId osr_id_;
Statement* body_; Statement* body_;
SourceRange body_range_; SourceRange body_range_;
Label continue_target_;
int suspend_count_; int suspend_count_;
int first_suspend_id_; int first_suspend_id_;
}; };
......
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