Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index b49a8e303e08d2bc21e866c79a271872fcfd3652..adc8cd59aa9fef87c7aa1dfd6c80ce3632ff5e40 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1177,17 +1177,6 @@ void LoadStubCompiler::GenerateLoadInterceptor( |
} |
-void StubCompiler::GenerateBooleanCheck(Register object, Label* miss) { |
- Label success; |
- // Check that the object is a boolean. |
- __ cmp(object, factory()->true_value()); |
- __ j(equal, &success); |
- __ cmp(object, factory()->false_value()); |
- __ j(not_equal, miss); |
- __ bind(&success); |
-} |
- |
- |
Handle<Code> StoreStubCompiler::CompileStoreCallback( |
Handle<JSObject> object, |
Handle<JSObject> holder, |