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

Side by Side Diff: src/compiler/diamond.h

Issue 879583002: [turbofan] Remove GenericAlgorithm from verifier and graph replay. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_DIAMOND_H_ 5 #ifndef V8_COMPILER_DIAMOND_H_
6 #define V8_COMPILER_DIAMOND_H_ 6 #define V8_COMPILER_DIAMOND_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
11 #include "src/compiler/graph-inl.h" 11 #include "src/compiler/graph.h"
12 #include "src/compiler/node.h" 12 #include "src/compiler/node.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 namespace compiler { 16 namespace compiler {
17 17
18 // A helper to make it easier to build diamond-shaped control patterns. 18 // A helper to make it easier to build diamond-shaped control patterns.
19 struct Diamond { 19 struct Diamond {
20 Graph* graph; 20 Graph* graph;
21 CommonOperatorBuilder* common; 21 CommonOperatorBuilder* common;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 node->ReplaceInput(1, fe); 76 node->ReplaceInput(1, fe);
77 node->ReplaceInput(2, merge); 77 node->ReplaceInput(2, merge);
78 node->TrimInputCount(3); 78 node->TrimInputCount(3);
79 } 79 }
80 }; 80 };
81 } 81 }
82 } 82 }
83 } // namespace v8::internal::compiler 83 } // namespace v8::internal::compiler
84 84
85 #endif // V8_COMPILER_DIAMOND_H_ 85 #endif // V8_COMPILER_DIAMOND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698