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

Unified Diff: runtime/vm/simulator_dbc.h

Issue 2570103003: VM: [DBC] Remove sp_ field from the DBC simulator (Closed)
Patch Set: Created 4 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 | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_dbc.h
diff --git a/runtime/vm/simulator_dbc.h b/runtime/vm/simulator_dbc.h
index f9e6020d114e34e51e8559e91a7bb85ca2bd00f7..076dedcfd378c984c3f7dc3f5c901a887af7b6b9 100644
--- a/runtime/vm/simulator_dbc.h
+++ b/runtime/vm/simulator_dbc.h
@@ -66,7 +66,7 @@ class Simulator {
void JumpToFrame(uword pc, uword sp, uword fp, Thread* thread);
- uword get_sp() const { return reinterpret_cast<uword>(sp_); }
+ uword get_sp() const { return reinterpret_cast<uword>(fp_); }
uword get_fp() const { return reinterpret_cast<uword>(fp_); }
uword get_pc() const { return reinterpret_cast<uword>(pc_); }
@@ -92,7 +92,6 @@ class Simulator {
uintptr_t* stack_;
RawObject** fp_;
- RawObject** sp_;
uword pc_;
SimulatorSetjmpBuffer* last_setjmp_buffer_;
« no previous file with comments | « no previous file | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698