| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 7fa2a99327383413c1ac0cec25142075ee6fde0d..1db8ef78c787befe9451d3adf484b39d5c62ed7e 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2324,12 +2324,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)));
|
| }
|
|
|