Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: runtime/vm/scopes.h

Issue 55943002: Remove some unused fields from class SourceLabel. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index a8b8d70e6ed4d9ff03dcccfc03b07222ca4e12c7..04fd3f6241edc5aa876b79004b4bc4c37d540081 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -5,18 +5,19 @@
#ifndef VM_SCOPES_H_
#define VM_SCOPES_H_
+#include "platform/assert.h"
+#include "platform/globals.h"
#include "vm/allocation.h"
-#include "vm/assembler.h"
#include "vm/growable_array.h"
+#include "vm/object.h"
+#include "vm/raw_object.h"
#include "vm/symbols.h"
+#include "vm/token.h"
namespace dart {
-class BitVector;
class JoinEntryInstr;
class LocalScope;
-class LocalVariable;
-class SourceLabel;
class LocalVariable : public ZoneAllocated {
@@ -136,8 +137,6 @@ class SourceLabel : public ZoneAllocated {
name_(name),
owner_(NULL),
kind_(kind),
- continue_label_(),
- break_label_(),
join_for_break_(NULL),
join_for_continue_(NULL),
is_continue_target_(false) {
@@ -162,8 +161,6 @@ class SourceLabel : public ZoneAllocated {
}
Kind kind() const { return kind_; }
- Label* break_label() { return &break_label_; }
- Label* continue_label() { return &continue_label_; }
void set_join_for_continue(JoinEntryInstr* join) {
ASSERT(join_for_continue_ == NULL);
@@ -201,8 +198,6 @@ class SourceLabel : public ZoneAllocated {
LocalScope* owner_; // Local scope declaring this label.
Kind kind_;
- Label continue_label_;
- Label break_label_;
JoinEntryInstr* join_for_break_;
JoinEntryInstr* join_for_continue_;
bool is_continue_target_; // Needed for CaseNode.
« no previous file with comments | « no previous file | runtime/vm/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698