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

Unified Diff: runtime/vm/isolate.cc

Issue 10832150: Get rid of ast node ids. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months 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 | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
===================================================================
--- runtime/vm/isolate.cc (revision 10302)
+++ runtime/vm/isolate.cc (working copy)
@@ -157,8 +157,7 @@
debugger_(NULL),
long_jump_base_(NULL),
timer_list_(),
- ast_node_id_(AstNode::kNoId),
- computation_id_(AstNode::kNoId),
+ deopt_id_(0),
ic_data_array_(Array::null()),
mutex_(new Mutex()),
stack_limit_(0),
@@ -305,17 +304,17 @@
}
-ICData* Isolate::GetICDataForCid(intptr_t cid) const {
+ICData* Isolate::GetICDataForDeoptId(intptr_t deopt_id) const {
if (ic_data_array() == Array::null()) {
return NULL;
}
const Array& array_handle = Array::Handle(ic_data_array());
- if (cid >= array_handle.Length()) {
+ if (deopt_id >= array_handle.Length()) {
// For computations being added in the optimizing compiler.
return NULL;
}
ICData& ic_data_handle = ICData::ZoneHandle();
- ic_data_handle ^= array_handle.At(cid);
+ ic_data_handle ^= array_handle.At(deopt_id);
return &ic_data_handle;
}
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698