Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index dab1c810e9091f38880400c4824ae8f65142d758..269927c480f231885c7563378b5805c5a8627011 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -1452,8 +1452,10 @@ TEST(LowerStoreField_to_store) { |
} |
} |
{ |
- TestingGraph t(Type::Any(), |
- Type::Intersect(Type::SignedSmall(), Type::TaggedSigned())); |
+ HandleAndZoneScope scope; |
+ Zone* z = scope.main_zone(); |
+ TestingGraph t(Type::Any(), Type::Intersect(Type::SignedSmall(), |
+ Type::TaggedSigned(), z)); |
FieldAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
Handle<Name>::null(), Type::Any(), kMachAnyTagged}; |
Node* store = t.graph()->NewNode(t.simplified()->StoreField(access), t.p0, |
@@ -1515,8 +1517,11 @@ TEST(LowerStoreElement_to_store) { |
} |
} |
{ |
- TestingGraph t(Type::Any(), Type::Signed32(), |
- Type::Intersect(Type::SignedSmall(), Type::TaggedSigned())); |
+ HandleAndZoneScope scope; |
+ Zone* z = scope.main_zone(); |
+ TestingGraph t( |
+ Type::Any(), Type::Signed32(), |
+ Type::Intersect(Type::SignedSmall(), Type::TaggedSigned(), z)); |
ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
Type::Any(), kMachAnyTagged}; |
Node* store = t.graph()->NewNode(t.simplified()->StoreElement(access), t.p0, |