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

Side by Side Diff: test/cctest/compiler/raw-machine-assembler.cc

Issue 894073002: [turbofan] Put StructuredGraphBuilder out of its misery and merge its remnants back into the AstGra… (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 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/cctest/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 MachineSignature* machine_sig, 15 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 Node* node = graph()->NewNode(op, input_count, inputs, incomplete); 159 Node* node = graph()->NewNode(op, input_count, inputs, incomplete);
160 BasicBlock* block = op->opcode() == IrOpcode::kParameter ? schedule()->start() 160 BasicBlock* block = op->opcode() == IrOpcode::kParameter ? schedule()->start()
161 : CurrentBlock(); 161 : CurrentBlock();
162 schedule()->AddNode(block, node); 162 schedule()->AddNode(block, node);
163 return node; 163 return node;
164 } 164 }
165 165
166 } // namespace compiler 166 } // namespace compiler
167 } // namespace internal 167 } // namespace internal
168 } // namespace v8 168 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698