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

Unified Diff: test/cctest/compiler/test-node.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 years, 2 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 | « test/cctest/compiler/test-multiple-return.cc ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-node.cc
diff --git a/test/cctest/compiler/test-node.cc b/test/cctest/compiler/test-node.cc
index c5fc5b3c5056373131d4c4627da8e594dda4d1ae..5137db4a52fbd39ecf53c4ce37fcbdee0b0b67b8 100644
--- a/test/cctest/compiler/test-node.cc
+++ b/test/cctest/compiler/test-node.cc
@@ -142,7 +142,7 @@ void CheckInputs(Node* node, Node** inputs, int input_count) {
TEST(NodeUseIteratorReplaceUses) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
Node* n1 = graph.NewNode(&dummy_operator1, n0);
@@ -168,7 +168,7 @@ TEST(NodeUseIteratorReplaceUses) {
TEST(NodeUseIteratorReplaceUsesSelf) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
Node* n1 = graph.NewNode(&dummy_operator1, n0);
@@ -193,7 +193,7 @@ TEST(NodeUseIteratorReplaceUsesSelf) {
TEST(ReplaceInput) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
Node* n1 = graph.NewNode(&dummy_operator0);
@@ -220,7 +220,7 @@ TEST(ReplaceInput) {
TEST(OwnedBy) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
{
@@ -271,7 +271,7 @@ TEST(OwnedBy) {
TEST(Uses) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -294,7 +294,7 @@ TEST(Uses) {
TEST(Inputs) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -322,7 +322,7 @@ TEST(Inputs) {
TEST(InsertInputs) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -397,7 +397,7 @@ TEST(InsertInputs) {
TEST(RemoveInput) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -428,7 +428,7 @@ TEST(RemoveInput) {
TEST(AppendInputsAndIterator) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -451,7 +451,7 @@ TEST(AppendInputsAndIterator) {
TEST(NullInputsSimple) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -479,7 +479,7 @@ TEST(NullInputsSimple) {
TEST(NullInputsAppended) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -503,7 +503,7 @@ TEST(NullInputsAppended) {
TEST(ReplaceUsesFromAppendedInputs) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -532,7 +532,7 @@ TEST(ReplaceUsesFromAppendedInputs) {
TEST(ReplaceInputMultipleUses) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* n0 = graph.NewNode(&dummy_operator0);
@@ -551,7 +551,7 @@ TEST(ReplaceInputMultipleUses) {
TEST(TrimInputCountInline) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
{
@@ -620,7 +620,7 @@ TEST(TrimInputCountInline) {
TEST(TrimInputCountOutOfLine1) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
{
@@ -715,7 +715,7 @@ TEST(TrimInputCountOutOfLine1) {
TEST(TrimInputCountOutOfLine2) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
{
@@ -785,7 +785,7 @@ TEST(TrimInputCountOutOfLine2) {
TEST(NullAllInputs) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
for (int i = 0; i < 2; i++) {
@@ -838,7 +838,7 @@ TEST(NullAllInputs) {
TEST(AppendAndTrim) {
v8::internal::AccountingAllocator allocator;
- Zone zone(&allocator);
+ Zone zone(&allocator, ZONE_NAME);
Graph graph(&zone);
Node* nodes[] = {
« no previous file with comments | « test/cctest/compiler/test-multiple-return.cc ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698