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

Side by Side Diff: test/cctest/compiler/test-control-reducer.cc

Issue 944803002: [turbofan] Finally get rid of the generic algorithm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. FIX. Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | test/cctest/compiler/test-js-typed-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/v8.h" 5 #include "src/v8.h"
6 #include "test/cctest/cctest.h" 6 #include "test/cctest/cctest.h"
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/control-reducer.h" 10 #include "src/compiler/control-reducer.h"
11 #include "src/compiler/graph-inl.h" 11 #include "src/compiler/graph.h"
12 #include "src/compiler/js-graph.h" 12 #include "src/compiler/js-graph.h"
13 #include "src/compiler/node-properties.h" 13 #include "src/compiler/node-properties.h"
14 14
15 using namespace v8::internal; 15 using namespace v8::internal;
16 using namespace v8::internal::compiler; 16 using namespace v8::internal::compiler;
17 17
18 static const size_t kNumLeafs = 4; 18 static const size_t kNumLeafs = 4;
19 19
20 enum Decision { kFalse, kUnknown, kTrue }; 20 enum Decision { kFalse, kUnknown, kTrue };
21 21
(...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 1510
1511 Node* ret = R.Return(d1.phi, R.start, d1.merge); 1511 Node* ret = R.Return(d1.phi, R.start, d1.merge);
1512 1512
1513 R.ReduceGraph(); // d1 gets folded true. 1513 R.ReduceGraph(); // d1 gets folded true.
1514 1514
1515 CheckInputs(ret, y2, R.start, R.start); 1515 CheckInputs(ret, y2, R.start, R.start);
1516 CheckDeadDiamond(d1); 1516 CheckDeadDiamond(d1);
1517 CheckDeadDiamond(d2); 1517 CheckDeadDiamond(d2);
1518 CheckDeadDiamond(d3); 1518 CheckDeadDiamond(d3);
1519 } 1519 }
OLDNEW
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698