OSDN Git Service

Quick compiler: fix Arm64 inline locking code
authorbuzbee <buzbee@google.com>
Tue, 19 Aug 2014 23:47:06 +0000 (16:47 -0700)
committerbuzbee <buzbee@google.com>
Wed, 20 Aug 2014 13:31:23 +0000 (06:31 -0700)
commit5d13f12f3454f07eb83b06b47e884a290e3a7303
treeb966812cbb4474ab6d7093508f493f6e68426185
parent4efefc3b900dfc83ffd098b0c296c835b6837925
Quick compiler: fix Arm64 inline locking code

The Arm64 monitor enter code was incorrectly comparing the
thread ID to zero rather than the lock value to determine if the
inline fast path was doable.  As a result, we ended up always
using the out-of-line case.

internal b/16707253

Change-Id: I499530da84beecf1f3f5c5ebb666e3eb12599ac0
compiler/dex/quick/arm64/call_arm64.cc