Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 5dc894c1f75afdd73b646706d5ebbc0e324a3108..2cf6fdf1d66380b225265bd0c03ae7671c915461 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2438,6 +2438,12 @@ Handle<Code> CallStubCompiler::CompileCallConstant(Handle<Object> object, |
} |
break; |
+ case SYMBOL_CHECK: |
+ // Check that the object is a symbol. |
+ __ CmpObjectType(edx, SYMBOL_TYPE, eax); |
+ __ j(not_equal, &miss); |
+ break; |
+ |
case NUMBER_CHECK: |
if (function->IsBuiltin() || !function->shared()->is_classic_mode()) { |
Label fast; |