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/code-factory.h" | 5 #include "src/code-factory.h" |
6 #include "src/compiler/pipeline.h" | 6 #include "src/compiler/pipeline.h" |
7 #include "src/compiler/raw-machine-assembler.h" | |
8 #include "src/compiler/scheduler.h" | 7 #include "src/compiler/scheduler.h" |
| 8 #include "test/unittests/compiler/raw-machine-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 namespace compiler { | 12 namespace compiler { |
13 | 13 |
14 RawMachineAssembler::RawMachineAssembler(Isolate* isolate, Graph* graph, | 14 RawMachineAssembler::RawMachineAssembler(Isolate* isolate, Graph* graph, |
15 const MachineSignature* machine_sig, | 15 const MachineSignature* machine_sig, |
16 MachineType word, | 16 MachineType word, |
17 MachineOperatorBuilder::Flags flags) | 17 MachineOperatorBuilder::Flags flags) |
18 : GraphBuilder(isolate, graph), | 18 : GraphBuilder(isolate, graph), |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 : CurrentBlock(); | 179 : CurrentBlock(); |
180 if (op->opcode() != IrOpcode::kReturn) { | 180 if (op->opcode() != IrOpcode::kReturn) { |
181 schedule()->AddNode(block, node); | 181 schedule()->AddNode(block, node); |
182 } | 182 } |
183 return node; | 183 return node; |
184 } | 184 } |
185 | 185 |
186 } // namespace compiler | 186 } // namespace compiler |
187 } // namespace internal | 187 } // namespace internal |
188 } // namespace v8 | 188 } // namespace v8 |
OLD | NEW |