aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Nevill edward.nevill@linaro.org <Edward Nevill edward.nevill@linaro.org>2014-07-22 14:37:17 +0100
committerEdward Nevill edward.nevill@linaro.org <Edward Nevill edward.nevill@linaro.org>2014-07-22 14:37:17 +0100
commita305a500dd103e3b0bf2a98efe72960726abee2d (patch)
treeec0e21e8a5f04a1f4b2b7e592bb417e4f61c2649
parentc25c392c6fadc9264361b95ea81f5bd8eaa146c5 (diff)
Fix assertion failure in DeoptimizeAllTest
-rw-r--r--src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
index f7f4814de..784f45f21 100644
--- a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
+++ b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
@@ -1313,6 +1313,9 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
vmIntrinsics::ID iid = method->intrinsic_id();
intptr_t start = (intptr_t)__ pc();
int vep_offset = ((intptr_t)__ pc()) - start;
+
+ // First instruction must be a nop as it may need to be patched on deoptimisation
+ __ nop();
gen_special_dispatch(masm,
method,
in_sig_bt,