Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index c905a8a82cd7e56fd9186e866793369b6a7cfbc1..6a5eeada767f38e8f3077cc40ca35ba2e28070fd 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2504,6 +2504,12 @@ Handle<Code> CallStubCompiler::CompileCallConstant(Handle<Object> object, |
} |
break; |
+ case SYMBOL_CHECK: |
+ // Check that the object is a symbol. |
+ __ CompareObjectType(r1, r1, r3, SYMBOL_TYPE); |
+ __ b(ne, &miss); |
+ break; |
+ |
case NUMBER_CHECK: |
if (function->IsBuiltin() || !function->shared()->is_classic_mode()) { |
Label fast; |