Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index a8867cd6bfd18411b3bf7051050495ca0962bb11..fd53b9782d6d956cfaa99048d2217dfd2ca4c998 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1167,19 +1167,6 @@ void LoadStubCompiler::GenerateLoadInterceptor( |
} |
-void StubCompiler::GenerateBooleanCheck(Register object, Label* miss) { |
- Label success; |
- // Check that the object is a boolean. |
- __ LoadRoot(ip, Heap::kTrueValueRootIndex); |
- __ cmp(object, ip); |
- __ b(eq, &success); |
- __ LoadRoot(ip, Heap::kFalseValueRootIndex); |
- __ cmp(object, ip); |
- __ b(ne, miss); |
- __ bind(&success); |
-} |
- |
- |
Handle<Code> StoreStubCompiler::CompileStoreCallback( |
Handle<JSObject> object, |
Handle<JSObject> holder, |