summaryrefslogtreecommitdiff
path: root/runtime/arch/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/arch/context.h')
-rw-r--r--runtime/arch/context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/arch/context.h b/runtime/arch/context.h
index 5980b03190..be7adc7ca1 100644
--- a/runtime/arch/context.h
+++ b/runtime/arch/context.h
@@ -88,6 +88,12 @@ class Context {
// Smashes the caller save registers. If we're throwing, we don't want to return bogus values.
virtual void SmashCallerSaves() = 0;
+ // Set `new_value` to the physical register containing the dex PC pointer in
+ // an nterp frame.
+ virtual void SetNterpDexPC(uintptr_t new_value ATTRIBUTE_UNUSED) {
+ abort();
+ }
+
// Switches execution of the executing context to this context
NO_RETURN virtual void DoLongJump() = 0;