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

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

Issue 1513543003: [turbofan] Make MachineType a pair of enums. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Moar rebase Created 5 years 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/raw-machine-assembler.h ('k') | src/compiler/register-allocator.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 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/raw-machine-assembler.h" 5 #include "src/compiler/raw-machine-assembler.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/compiler/scheduler.h" 10 #include "src/compiler/scheduler.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 namespace compiler { 14 namespace compiler {
15 15
16 RawMachineAssembler::RawMachineAssembler(Isolate* isolate, Graph* graph, 16 RawMachineAssembler::RawMachineAssembler(Isolate* isolate, Graph* graph,
17 CallDescriptor* call_descriptor, 17 CallDescriptor* call_descriptor,
18 MachineType word, 18 MachineRepresentation word,
19 MachineOperatorBuilder::Flags flags) 19 MachineOperatorBuilder::Flags flags)
20 : isolate_(isolate), 20 : isolate_(isolate),
21 graph_(graph), 21 graph_(graph),
22 schedule_(new (zone()) Schedule(zone())), 22 schedule_(new (zone()) Schedule(zone())),
23 machine_(zone(), word, flags), 23 machine_(zone(), word, flags),
24 common_(zone()), 24 common_(zone()),
25 call_descriptor_(call_descriptor), 25 call_descriptor_(call_descriptor),
26 parameters_(parameter_count(), zone()), 26 parameters_(parameter_count(), zone()),
27 current_block_(schedule()->start()) { 27 current_block_(schedule()->start()) {
28 int param_count = static_cast<int>(parameter_count()); 28 int param_count = static_cast<int>(parameter_count());
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 390
391 RawMachineLabel::RawMachineLabel() 391 RawMachineLabel::RawMachineLabel()
392 : block_(NULL), used_(false), bound_(false) {} 392 : block_(NULL), used_(false), bound_(false) {}
393 393
394 394
395 RawMachineLabel::~RawMachineLabel() { DCHECK(bound_ || !used_); } 395 RawMachineLabel::~RawMachineLabel() { DCHECK(bound_ || !used_); }
396 396
397 } // namespace compiler 397 } // namespace compiler
398 } // namespace internal 398 } // namespace internal
399 } // namespace v8 399 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/register-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698