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

Unified Diff: runtime/vm/stack_frame.h

Issue 2376843002: Pass new pool pointer to the JumpToException stub instead of reloading in through the frame's Code … (Closed)
Patch Set: . Created 4 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/vm/simulator_mips.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.h
diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h
index 268ca4a9998819930ed8b30b3cb92ef2bab75a7e..15c8831b71820ce63e021b979590e6644debd449 100644
--- a/runtime/vm/stack_frame.h
+++ b/runtime/vm/stack_frame.h
@@ -60,6 +60,16 @@ class StackFrame : public ValueObject {
code;
}
+#if !defined(TARGET_ARCH_IA32) && !defined(TARGET_ARCH_DBC)
+ uword* saved_caller_pp_slot() const {
+ return reinterpret_cast<uword*>(fp() +
+ SavedCallerPpSlotFromFp() * kWordSize);
+ }
+ uword saved_caller_pp() const {
Florian Schneider 2016/09/28 01:30:36 Since you store the slot, this getter would not ne
rmacnak 2016/09/28 17:15:56 Done.
+ return *saved_caller_pp_slot();
+ }
+#endif
+
// Visit objects in the frame.
virtual void VisitObjectPointers(ObjectPointerVisitor* visitor);
« no previous file with comments | « runtime/vm/simulator_mips.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698