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

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

Issue 905293002: Remove dependency on v8.h from TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add DEPS file. 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/control-equivalence.h ('k') | src/compiler/frame.h » ('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 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"
9
10 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
11 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
12 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
13 11
14 namespace v8 { 12 namespace v8 {
15 namespace internal { 13 namespace internal {
16 namespace compiler { 14 namespace compiler {
17 15
18 // A helper to make it easier to build diamond-shaped control patterns. 16 // A helper to make it easier to build diamond-shaped control patterns.
19 struct Diamond { 17 struct Diamond {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 node->ReplaceInput(1, fe); 74 node->ReplaceInput(1, fe);
77 node->ReplaceInput(2, merge); 75 node->ReplaceInput(2, merge);
78 node->TrimInputCount(3); 76 node->TrimInputCount(3);
79 } 77 }
80 }; 78 };
81 } 79 }
82 } 80 }
83 } // namespace v8::internal::compiler 81 } // namespace v8::internal::compiler
84 82
85 #endif // V8_COMPILER_DIAMOND_H_ 83 #endif // V8_COMPILER_DIAMOND_H_
OLDNEW
« no previous file with comments | « src/compiler/control-equivalence.h ('k') | src/compiler/frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698