| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index ac121e059fe9a313e921d656918281da96d105eb..1be2520f51a80fe6bbe85ddb1fb9d6b323941e1b 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2384,12 +2384,17 @@ TEST(OptimizedPretenuringMixedInObjectProperties) {
|
| FieldIndex idx1 = FieldIndex::ForPropertyIndex(o->map(), 0);
|
| FieldIndex idx2 = FieldIndex::ForPropertyIndex(o->map(), 1);
|
| CHECK(CcTest::heap()->InOldPointerSpace(o->RawFastPropertyAt(idx1)));
|
| - CHECK(CcTest::heap()->InOldDataSpace(o->RawFastPropertyAt(idx2)));
|
| + if (!FLAG_unbox_double_fields) {
|
| + CHECK(CcTest::heap()->InOldDataSpace(o->RawFastPropertyAt(idx2)));
|
| + }
|
|
|
| JSObject* inner_object =
|
| reinterpret_cast<JSObject*>(o->RawFastPropertyAt(idx1));
|
| CHECK(CcTest::heap()->InOldPointerSpace(inner_object));
|
| - CHECK(CcTest::heap()->InOldDataSpace(inner_object->RawFastPropertyAt(idx1)));
|
| + if (!FLAG_unbox_double_fields) {
|
| + CHECK(
|
| + CcTest::heap()->InOldDataSpace(inner_object->RawFastPropertyAt(idx1)));
|
| + }
|
| CHECK(CcTest::heap()->InOldPointerSpace(
|
| inner_object->RawFastPropertyAt(idx2)));
|
| }
|
|
|