OSDN Git Service

art_quick_lock_object uses registers incorrectly
authorSerguei Katkov <serguei.i.katkov@intel.com>
Thu, 3 Apr 2014 08:17:26 +0000 (15:17 +0700)
committerSerguei Katkov <serguei.i.katkov@intel.com>
Fri, 4 Apr 2014 02:14:18 +0000 (09:14 +0700)
commit8ef84afbaeb433adaed98a11902502dd733e5222
tree04400f9cac5cb04391f602594674a9651cd1fba6
parente5893f8fb70c58fe9950c1fc8b1023e32ca34637
art_quick_lock_object uses registers incorrectly

x86 implementation of art_quick_lock_object uses registers
incorrectly in the case of .Lalready_thin. eax points to object
while it is used as holding the lock word.

The patch fixes this.

Change-Id: Iacf1a40c6570fae78a5504ca3b2f1218631f7a8f
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
runtime/arch/x86/quick_entrypoints_x86.S