Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 5070) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -176,6 +176,13 @@ |
__ cmp(entity_name, Operand(Handle<String>(name))); |
__ b(eq, miss_label); |
+ // Check if the entry name is not a symbol. |
+ __ ldr(entity_name, FieldMemOperand(entity_name, HeapObject::kMapOffset)); |
+ __ ldrb(entity_name, |
+ FieldMemOperand(entity_name, Map::kInstanceTypeOffset)); |
+ __ tst(entity_name, Operand(kIsSymbolMask)); |
+ __ b(eq, miss_label); |
+ |
// Restore the properties. |
__ ldr(properties, |
FieldMemOperand(receiver, JSObject::kPropertiesOffset)); |