Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 04c2ac955f4fd70b87520568b3b34c0d5a2bcde9..537f41235179452ca14c84235840a73e8083cb5f 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -1075,17 +1075,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, |