Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index d29ee41100f6c3c57080479e4ae7330bbf04385e..57f0b27b007bceeeda41cc2a39d96cb13264c78d 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -190,10 +190,10 @@ struct ZoneRep { |
return static_cast<int>(reinterpret_cast<intptr_t>(t) >> 1); |
} |
static Map* AsClass(Type* t) { |
- return *reinterpret_cast<Map**>(AsTagged(t)->at(1)); |
+ return *reinterpret_cast<Map**>(AsTagged(t)->at(2)); |
} |
static Object* AsConstant(Type* t) { |
- return *reinterpret_cast<Object**>(AsTagged(t)->at(1)); |
+ return *reinterpret_cast<Object**>(AsTagged(t)->at(2)); |
} |
static ZoneList<Type*>* AsUnion(Type* t) { |
return reinterpret_cast<ZoneList<Type*>*>(AsTagged(t)); |