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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 1485183002: [turbofan] Deopt support for escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ea-local
Patch Set: Rebase Created 4 years, 11 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/instruction.cc ('k') | src/compiler/instruction-selector.cc » ('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 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
11 #include "src/compiler/instruction.h" 11 #include "src/compiler/instruction.h"
12 #include "src/compiler/instruction-scheduler.h" 12 #include "src/compiler/instruction-scheduler.h"
13 #include "src/compiler/machine-operator.h" 13 #include "src/compiler/machine-operator.h"
14 #include "src/compiler/node.h" 14 #include "src/compiler/node.h"
15 #include "src/zone-containers.h" 15 #include "src/zone-containers.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 namespace compiler { 19 namespace compiler {
20 20
21 // Forward declarations. 21 // Forward declarations.
22 class BasicBlock; 22 class BasicBlock;
23 struct CallBuffer; // TODO(bmeurer): Remove this. 23 struct CallBuffer; // TODO(bmeurer): Remove this.
24 class FlagsContinuation; 24 class FlagsContinuation;
25 class Linkage; 25 class Linkage;
26 class OperandGenerator; 26 class OperandGenerator;
27 struct SwitchInfo; 27 struct SwitchInfo;
28 28
29 typedef ZoneVector<InstructionOperand> InstructionOperandVector;
30
31 // This struct connects nodes of parameters which are going to be pushed on the 29 // This struct connects nodes of parameters which are going to be pushed on the
32 // call stack with their parameter index in the call descriptor of the callee. 30 // call stack with their parameter index in the call descriptor of the callee.
33 class PushParameter { 31 class PushParameter {
34 public: 32 public:
35 PushParameter() : node_(nullptr), type_(MachineType::None()) {} 33 PushParameter() : node_(nullptr), type_(MachineType::None()) {}
36 PushParameter(Node* node, MachineType type) : node_(node), type_(type) {} 34 PushParameter(Node* node, MachineType type) : node_(node), type_(type) {}
37 35
38 Node* node() const { return node_; } 36 Node* node() const { return node_; }
39 MachineType type() const { return type_; } 37 MachineType type() const { return type_; }
40 38
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 BoolVector used_; 271 BoolVector used_;
274 IntVector virtual_registers_; 272 IntVector virtual_registers_;
275 InstructionScheduler* scheduler_; 273 InstructionScheduler* scheduler_;
276 }; 274 };
277 275
278 } // namespace compiler 276 } // namespace compiler
279 } // namespace internal 277 } // namespace internal
280 } // namespace v8 278 } // namespace v8
281 279
282 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 280 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698