summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/arm/Thumb2
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2009-12-21 16:40:06 -0800
committerCarl Shapiro <cshapiro@google.com>2009-12-21 16:40:48 -0800
commitbc64d787c0f33e07d8f7f8b1fe4f62682aad5481 (patch)
treefabdb62fddf8b63f96c534dfc38cbbef9257671a /vm/compiler/codegen/arm/Thumb2
parentdc2e882571c647a62412f861e85a8406052bf3a2 (diff)
downloadandroid_dalvik-bc64d787c0f33e07d8f7f8b1fe4f62682aad5481.tar.gz
android_dalvik-bc64d787c0f33e07d8f7f8b1fe4f62682aad5481.tar.bz2
android_dalvik-bc64d787c0f33e07d8f7f8b1fe4f62682aad5481.zip
Remove conditionally compiled code for monitor-only locks.
Diffstat (limited to 'vm/compiler/codegen/arm/Thumb2')
-rw-r--r--vm/compiler/codegen/arm/Thumb2/Gen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm/compiler/codegen/arm/Thumb2/Gen.c b/vm/compiler/codegen/arm/Thumb2/Gen.c
index 579b0eadd..925136451 100644
--- a/vm/compiler/codegen/arm/Thumb2/Gen.c
+++ b/vm/compiler/codegen/arm/Thumb2/Gen.c
@@ -180,7 +180,6 @@ static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir)
*/
static void genMonitor(CompilationUnit *cUnit, MIR *mir)
{
-#if defined (THIN_LOCKING)
RegLocation rlSrc = getSrcLoc(cUnit, mir, 0);
bool enter = (mir->dalvikInsn.opCode == OP_MONITOR_ENTER);
ArmLIR *target;
@@ -229,9 +228,6 @@ static void genMonitor(CompilationUnit *cUnit, MIR *mir)
target = newLIR0(cUnit, kArmPseudoTargetLabel);
target->defMask = ENCODE_ALL;
branch->generic.target = (LIR *)target;
-#else
- genMonitorPortable(cUnit, mir);
-#endif
}
/*