diff options
author | buzbee <buzbee@google.com> | 2011-09-11 15:25:43 -0700 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2011-09-11 18:14:46 -0700 |
commit | ec5adf351879cb6235faf2c6c068c2553d85a7d2 (patch) | |
tree | f3f8e9ab69690e729a523188468d7150ede27bf7 /test/MyClassNatives | |
parent | 005ab2eb9e9ab4762c00e73c7028de2850bd5108 (diff) | |
download | art-ec5adf351879cb6235faf2c6c068c2553d85a7d2.tar.gz art-ec5adf351879cb6235faf2c6c068c2553d85a7d2.tar.bz2 art-ec5adf351879cb6235faf2c6c068c2553d85a7d2.zip |
Mark top of managed stack on helper transitions
To assist with unwind from a helper function, store current SP prior
to helper call in Thread. NOTE: we may wish to push this into a
trampoline to reduce code expansion. NOTE #2: Because any helper
function which can throw will be non-leaf, it will spill lr at the saved
address - 4 (the word immediately below caller's Method*). To identify
the callsite, load the spilled lr, clear the low bit, subtract 2, and use
that address in the native <-> dalvik mapping to identify the callsite.
Also in this CL are a ralloc fix and some extra SSA logging.
Change-Id: Idd442f0c55413a5146c24709b1db1150604f4554
Diffstat (limited to 'test/MyClassNatives')
0 files changed, 0 insertions, 0 deletions