Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 7153) |
+++ src/ia32/full-codegen-ia32.cc (working copy) |
@@ -3049,8 +3049,8 @@ |
// Fetch the map and check if array is in fast case. |
// Check that object doesn't require security checks and |
// has no indexed interceptor. |
- __ CmpObjectType(object, FIRST_JS_OBJECT_TYPE, temp); |
- __ j(below, &slow_case); |
+ __ CmpObjectType(object, JS_OBJECT_TYPE, temp); |
Lasse Reichstein
2011/03/15 09:07:01
JS_ARRAY_TYPE
Erik Corry
2011/03/15 10:00:50
Done.
|
+ __ j(not_equal, &slow_case); |
__ test_b(FieldOperand(temp, Map::kBitFieldOffset), |
KeyedLoadIC::kSlowCaseBitFieldMask); |
__ j(not_zero, &slow_case); |