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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/arch/context.h b/runtime/arch/context.h
index be7adc7ca1..efeacd65a8 100644
--- a/runtime/arch/context.h
+++ b/runtime/arch/context.h
@@ -90,9 +90,7 @@ class Context {
// 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();
- }
+ virtual void SetNterpDexPC([[maybe_unused]] uintptr_t new_value) { abort(); }
// Switches execution of the executing context to this context
NO_RETURN virtual void DoLongJump() = 0;