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

Side by Side Diff: test/cctest/compiler/test-osr.cc

Issue 1408283006: Remove deprecated API usage from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-arguments-inline-3
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « test/cctest/compiler/test-operator.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include "src/codegen.h" 8 #include "src/codegen.h"
6 #include "src/compiler/all-nodes.h" 9 #include "src/compiler/all-nodes.h"
7 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
8 #include "src/compiler/diamond.h" 11 #include "src/compiler/diamond.h"
9 #include "src/compiler/graph.h" 12 #include "src/compiler/graph.h"
10 #include "src/compiler/js-graph.h" 13 #include "src/compiler/js-graph.h"
11 #include "src/compiler/js-operator.h" 14 #include "src/compiler/js-operator.h"
12 #include "src/compiler/operator.h" 15 #include "src/compiler/operator.h"
13 #include "src/compiler/osr.h" 16 #include "src/compiler/osr.h"
14 #include "test/cctest/cctest.h" 17 #include "test/cctest/cctest.h"
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 559
557 Node* new_loop0_phi = new_ret->InputAt(0); 560 Node* new_loop0_phi = new_ret->InputAt(0);
558 CHECK_EQ(IrOpcode::kPhi, new_loop0_phi->opcode()); 561 CHECK_EQ(IrOpcode::kPhi, new_loop0_phi->opcode());
559 CHECK_EQ(new_loop0_loop, NodeProperties::GetControlInput(new_loop0_phi)); 562 CHECK_EQ(new_loop0_loop, NodeProperties::GetControlInput(new_loop0_phi));
560 CHECK_EQ(new_loop0_phi, FindSuccessor(new_loop0_loop, IrOpcode::kPhi)); 563 CHECK_EQ(new_loop0_phi, FindSuccessor(new_loop0_loop, IrOpcode::kPhi));
561 564
562 // Check that the return returns the phi from the OSR loop and control 565 // Check that the return returns the phi from the OSR loop and control
563 // depends on the copy of the outer loop0. 566 // depends on the copy of the outer loop0.
564 CheckInputs(new_ret, new_loop0_phi, T.graph.start(), new_loop0_exit); 567 CheckInputs(new_ret, new_loop0_phi, T.graph.start(), new_loop0_exit);
565 } 568 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-operator.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698