Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: test/cctest/compiler/test-simplified-lowering.cc

Issue 1312893010: Remove no-zone versions of intersection and union. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « src/types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698