| Index: src/ia32/ic-ia32.cc
|
| ===================================================================
|
| --- src/ia32/ic-ia32.cc (revision 3678)
|
| +++ src/ia32/ic-ia32.cc (working copy)
|
| @@ -244,11 +244,10 @@
|
|
|
| // Get the map of the receiver.
|
| __ mov(edx, FieldOperand(ecx, HeapObject::kMapOffset));
|
| - // Check that the receiver does not require access checks. We need
|
| - // to check this explicitly since this generic stub does not perform
|
| - // map checks.
|
| +
|
| + // Check bit field.
|
| __ movzx_b(ebx, FieldOperand(edx, Map::kBitFieldOffset));
|
| - __ test(ebx, Immediate(1 << Map::kIsAccessCheckNeeded));
|
| + __ test(ebx, Immediate(kSlowCaseBitFieldMask));
|
| __ j(not_zero, &slow, not_taken);
|
| // Check that the object is some kind of JS object EXCEPT JS Value type.
|
| // In the case that the object is a value-wrapper object,
|
|
|