Index: src/arm64/stub-cache-arm64.cc |
diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc |
index 6a822f7c7f9a88b7216127594cbd16d716255bd2..760fbb3540991c6ae97e9a3c30cbc273ba203e6e 100644 |
--- a/src/arm64/stub-cache-arm64.cc |
+++ b/src/arm64/stub-cache-arm64.cc |
@@ -1136,19 +1136,6 @@ void LoadStubCompiler::GenerateLoadInterceptor( |
} |
-void StubCompiler::GenerateBooleanCheck(Register object, Label* miss) { |
- UseScratchRegisterScope temps(masm()); |
- // Check that the object is a boolean. |
- Register true_root = temps.AcquireX(); |
- Register false_root = temps.AcquireX(); |
- ASSERT(!AreAliased(object, true_root, false_root)); |
- __ LoadTrueFalseRoots(true_root, false_root); |
- __ Cmp(object, true_root); |
- __ Ccmp(object, false_root, ZFlag, ne); |
- __ B(ne, miss); |
-} |
- |
- |
Handle<Code> StoreStubCompiler::CompileStoreCallback( |
Handle<JSObject> object, |
Handle<JSObject> holder, |