| Index: src/arm/full-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/full-codegen-arm.cc (revision 7918)
|
| +++ src/arm/full-codegen-arm.cc (working copy)
|
| @@ -562,23 +562,6 @@
|
| Label* if_false,
|
| Label* fall_through) {
|
| if (CpuFeatures::IsSupported(VFP3)) {
|
| - CpuFeatures::Scope scope(VFP3);
|
| - // Emit the inlined tests assumed by the stub.
|
| - __ LoadRoot(ip, Heap::kUndefinedValueRootIndex);
|
| - __ cmp(result_register(), ip);
|
| - __ b(eq, if_false);
|
| - __ LoadRoot(ip, Heap::kTrueValueRootIndex);
|
| - __ cmp(result_register(), ip);
|
| - __ b(eq, if_true);
|
| - __ LoadRoot(ip, Heap::kFalseValueRootIndex);
|
| - __ cmp(result_register(), ip);
|
| - __ b(eq, if_false);
|
| - STATIC_ASSERT(kSmiTag == 0);
|
| - __ tst(result_register(), result_register());
|
| - __ b(eq, if_false);
|
| - __ JumpIfSmi(result_register(), if_true);
|
| -
|
| - // Call the ToBoolean stub for all other cases.
|
| ToBooleanStub stub(result_register());
|
| __ CallStub(&stub);
|
| __ tst(result_register(), result_register());
|
| @@ -590,8 +573,6 @@
|
| __ LoadRoot(ip, Heap::kFalseValueRootIndex);
|
| __ cmp(r0, ip);
|
| }
|
| -
|
| - // The stub returns nonzero for true.
|
| Split(ne, if_true, if_false, fall_through);
|
| }
|
|
|
|
|