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

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
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 {
+ return *saved_caller_pp_slot();
+ }
+#endif
+
// Visit objects in the frame.
virtual void VisitObjectPointers(ObjectPointerVisitor* visitor);

Powered by Google App Engine
This is Rietveld 408576698