OLD | NEW |
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/compiler/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
| 10 #include "src/compiler/opcodes.h" |
| 11 #include "src/compiler/operator.h" |
10 #include "src/unique.h" | 12 #include "src/unique.h" |
11 #include "src/zone.h" | 13 #include "src/zone.h" |
12 | 14 |
13 namespace v8 { | 15 namespace v8 { |
14 namespace internal { | 16 namespace internal { |
15 namespace compiler { | 17 namespace compiler { |
16 | 18 |
17 std::ostream& operator<<(std::ostream& os, BranchHint hint) { | 19 std::ostream& operator<<(std::ostream& os, BranchHint hint) { |
18 switch (hint) { | 20 switch (hint) { |
19 case BranchHint::kNone: | 21 case BranchHint::kNone: |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 return new (zone()) Operator1<size_t>( // -- | 351 return new (zone()) Operator1<size_t>( // -- |
350 IrOpcode::kProjection, Operator::kPure, // opcode | 352 IrOpcode::kProjection, Operator::kPure, // opcode |
351 "Projection", // name | 353 "Projection", // name |
352 1, 0, 0, 1, 0, 0, // counts | 354 1, 0, 0, 1, 0, 0, // counts |
353 index); // parameter | 355 index); // parameter |
354 } | 356 } |
355 | 357 |
356 } // namespace compiler | 358 } // namespace compiler |
357 } // namespace internal | 359 } // namespace internal |
358 } // namespace v8 | 360 } // namespace v8 |
OLD | NEW |