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 #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" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 void VisitOsrValue(Node* node); | 206 void VisitOsrValue(Node* node); |
207 void VisitPhi(Node* node); | 207 void VisitPhi(Node* node); |
208 void VisitProjection(Node* node); | 208 void VisitProjection(Node* node); |
209 void VisitConstant(Node* node); | 209 void VisitConstant(Node* node); |
210 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 210 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
211 void VisitTailCall(Node* call); | 211 void VisitTailCall(Node* call); |
212 void VisitGoto(BasicBlock* target); | 212 void VisitGoto(BasicBlock* target); |
213 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 213 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
214 void VisitSwitch(Node* node, const SwitchInfo& sw); | 214 void VisitSwitch(Node* node, const SwitchInfo& sw); |
215 void VisitDeoptimize(Node* value); | 215 void VisitDeoptimize(Node* value); |
216 void VisitReturn(Node* value); | 216 void VisitReturn(Node* input); |
titzer
2015/10/07 23:57:05
We should probably call this "ret", since it shoul
bradn
2015/10/08 17:13:37
Done.
| |
217 void VisitThrow(Node* value); | 217 void VisitThrow(Node* value); |
218 | 218 |
219 // =========================================================================== | 219 // =========================================================================== |
220 | 220 |
221 Schedule* schedule() const { return schedule_; } | 221 Schedule* schedule() const { return schedule_; } |
222 Linkage* linkage() const { return linkage_; } | 222 Linkage* linkage() const { return linkage_; } |
223 InstructionSequence* sequence() const { return sequence_; } | 223 InstructionSequence* sequence() const { return sequence_; } |
224 Zone* instruction_zone() const { return sequence()->zone(); } | 224 Zone* instruction_zone() const { return sequence()->zone(); } |
225 Zone* zone() const { return zone_; } | 225 Zone* zone() const { return zone_; } |
226 | 226 |
(...skipping 11 matching lines...) Expand all Loading... | |
238 BoolVector defined_; | 238 BoolVector defined_; |
239 BoolVector used_; | 239 BoolVector used_; |
240 IntVector virtual_registers_; | 240 IntVector virtual_registers_; |
241 }; | 241 }; |
242 | 242 |
243 } // namespace compiler | 243 } // namespace compiler |
244 } // namespace internal | 244 } // namespace internal |
245 } // namespace v8 | 245 } // namespace v8 |
246 | 246 |
247 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 247 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |