Index: runtime/vm/simulator_arm64.h |
diff --git a/runtime/vm/simulator_arm64.h b/runtime/vm/simulator_arm64.h |
index bf3572ce6bfc85f6a32c3339a1f699b121e30dfb..78c1812ac7217137a67db87371cb4e8374754f4e 100644 |
--- a/runtime/vm/simulator_arm64.h |
+++ b/runtime/vm/simulator_arm64.h |
@@ -65,6 +65,10 @@ class Simulator { |
void get_vregister(VRegister reg, simd_value_t* value) const; |
void set_vregister(VRegister reg, const simd_value_t& value); |
+ int64_t get_sp() const { |
+ return get_register(SPREG); |
+ } |
+ |
int64_t get_pc() const; |
int64_t get_last_pc() const; |
void set_pc(int64_t pc); |