OSDN Git Service

Don't hardcode the location of the caller.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 19 May 2015 17:58:54 +0000 (18:58 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 20 May 2015 10:10:36 +0000 (11:10 +0100)
commit7ea6a170486d81b127e69673cd1020c4db628c93
tree02a302e1f952490dc3238eb96c103dab0590e8ff
parentdc23a3882b82a7a3dd5078cda3f4b4706e172617
Don't hardcode the location of the caller.

This is to avoid shooting ourselves in the foot when
dealing with inlined frames. Instead, use common methods
for fetching the caller and its dex pc.

Change-Id: I3467a7b50cf163022d332e80356f0aab747de252
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/arm64/quick_entrypoints_arm64.S
runtime/arch/mips/quick_entrypoints_mips.S
runtime/arch/mips64/quick_entrypoints_mips64.S
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/quick_entrypoints_x86_64.S
runtime/entrypoints/entrypoint_utils-inl.h
runtime/entrypoints/quick/quick_dexcache_entrypoints.cc
runtime/entrypoints/quick/quick_trampoline_entrypoints.cc