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

Unified Diff: runtime/vm/code_descriptors.cc

Issue 343803002: Finishes removing intptr_t from raw object fields. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/platform/globals.h ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.cc
===================================================================
--- runtime/vm/code_descriptors.cc (revision 40039)
+++ runtime/vm/code_descriptors.cc (working copy)
@@ -57,7 +57,7 @@
map1 = MapAt(i - 1);
map2 = MapAt(i);
// Ensure there are no duplicates and the entries are sorted.
- if (map1.PC() >= map2.PC()) {
+ if (map1.PcOffset() >= map2.PcOffset()) {
return false;
}
}
@@ -71,11 +71,6 @@
if (num_entries == 0) {
return Object::empty_array().raw();
}
- uword entry_point = code.EntryPoint();
- for (intptr_t i = 0; i < num_entries; i++) {
- stack_map_ = MapAt(i);
- stack_map_.SetPC(entry_point + stack_map_.PC());
- }
return Array::MakeArray(list_);
}
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698