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

Unified Diff: runtime/vm/ast.h

Issue 11438018: Remove unused field AstNode::ic_data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index a9be2622f9238ed9c7050b7d776b179b9a46878c..f3267ab5154451ec09ed535fe95cdf1c3fa57d4a 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -92,18 +92,12 @@ NODE_LIST(DEFINE_VISITOR_FUNCTION)
class AstNode : public ZoneAllocated {
public:
explicit AstNode(intptr_t token_pos)
- : token_pos_(token_pos),
- ic_data_(ICData::ZoneHandle()) {
+ : token_pos_(token_pos) {
ASSERT(token_pos_ >= 0);
}
intptr_t token_pos() const { return token_pos_; }
- const ICData& ic_data() const { return ic_data_; }
- void set_ic_data(const ICData& value) {
- ic_data_ = value.raw();
- }
-
#define AST_TYPE_CHECK(type, name) \
virtual bool Is##type() const { return false; } \
virtual type* As##type() { return NULL; }
@@ -148,8 +142,6 @@ NODE_LIST(AST_TYPE_CHECK)
private:
const intptr_t token_pos_;
- // IC data collected for this node.
- ICData& ic_data_;
DISALLOW_COPY_AND_ASSIGN(AstNode);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698