[aarch64-port-dev ] RFR: Remove all uses of Deoptimization::UnrollBlock::initial_info_offset_in_bytes
Edward Nevill
edward.nevill at linaro.org
Tue Feb 11 06:48:13 PST 2014
Hi,
The following patch removes all uses of Deoptimization::UnrollBlock::initial_info_offset_in_bytes and also removes the setting of initial_info.
Regards,
Ed.
--- CUT HERE ---
exporting patch:
# HG changeset patch
# User Edward Nevill edward.nevill at linaro.org
# Date 1391791457 0
# Fri Feb 07 16:44:17 2014 +0000
# Node ID 6cdb560d99ab5b5acd1e17c2a3ccf185c882583e
# Parent 896a8f65fa0b0efdc498485d42995c59ce53476e
Remove all uses of Deoptimization::UnrollBlock::initial_info_offset_in_bytes
diff -r 896a8f65fa0b -r 6cdb560d99ab src/cpu/aarch64/vm/frame_aarch64.cpp
--- a/src/cpu/aarch64/vm/frame_aarch64.cpp Fri Feb 07 10:44:52 2014 +0000
+++ b/src/cpu/aarch64/vm/frame_aarch64.cpp Fri Feb 07 16:44:17 2014 +0000
@@ -688,11 +688,6 @@
}
#endif
-intptr_t *frame::initial_deoptimization_info() {
- // used to reset the saved FP
- return fp();
-}
-
intptr_t* frame::real_fp() const {
if (_cb != NULL) {
// use the frame size if valid
diff -r 896a8f65fa0b -r 6cdb560d99ab src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
--- a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Fri Feb 07 10:44:52 2014 +0000
+++ b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Fri Feb 07 16:44:17 2014 +0000
@@ -2681,11 +2681,6 @@
Deoptimization::UnrollBlock::
number_of_frames_offset_in_bytes())); // (int)
- // Pick up the initial fp we should save
- __ ldr(rfp,
- Address(r4,
- Deoptimization::UnrollBlock::initial_info_offset_in_bytes()));
-
// Now adjust the caller's stack to make up for the extra locals but
// record the original sp so that we can save it in the skeletal
// interpreter frame and the stack walking of interpreter_sender
diff -r 896a8f65fa0b -r 6cdb560d99ab src/share/vm/runtime/deoptimization.cpp
--- a/src/share/vm/runtime/deoptimization.cpp Fri Feb 07 10:44:52 2014 +0000
+++ b/src/share/vm/runtime/deoptimization.cpp Fri Feb 07 16:44:17 2014 +0000
@@ -497,7 +497,9 @@
// On some platforms, we need a way to pass some platform dependent
// information to the unpacking code so the skeletal frames come out
// correct (initial fp value, unextended sp, ...)
+#ifndef AARCH64
info->set_initial_info((intptr_t) array->sender().initial_deoptimization_info());
+#endif
if (array->frames() > 1) {
if (VerifyStack && TraceDeoptimization) {
--- CUR HERE ---
More information about the aarch64-port-dev
mailing list