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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
265 void VisitGoto(BasicBlock* target); | 265 void VisitGoto(BasicBlock* target); |
266 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 266 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
267 void VisitSwitch(Node* node, const SwitchInfo& sw); | 267 void VisitSwitch(Node* node, const SwitchInfo& sw); |
268 void VisitDeoptimize(DeoptimizeKind kind, Node* value); | 268 void VisitDeoptimize(DeoptimizeKind kind, Node* value); |
269 void VisitReturn(Node* ret); | 269 void VisitReturn(Node* ret); |
270 void VisitThrow(Node* value); | 270 void VisitThrow(Node* value); |
271 | 271 |
272 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, | 272 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, |
273 const CallDescriptor* descriptor, Node* node); | 273 const CallDescriptor* descriptor, Node* node); |
274 | 274 |
275 void EmitIdentity(Node* node); | |
276 bool CanProduceSignallingNaN(Node* node); | |
Benedikt Meurer
2016/06/13 17:26:30
Nit: signaling
| |
277 | |
275 // =========================================================================== | 278 // =========================================================================== |
276 | 279 |
277 Schedule* schedule() const { return schedule_; } | 280 Schedule* schedule() const { return schedule_; } |
278 Linkage* linkage() const { return linkage_; } | 281 Linkage* linkage() const { return linkage_; } |
279 InstructionSequence* sequence() const { return sequence_; } | 282 InstructionSequence* sequence() const { return sequence_; } |
280 Zone* instruction_zone() const { return sequence()->zone(); } | 283 Zone* instruction_zone() const { return sequence()->zone(); } |
281 Zone* zone() const { return zone_; } | 284 Zone* zone() const { return zone_; } |
282 | 285 |
283 // =========================================================================== | 286 // =========================================================================== |
284 | 287 |
(...skipping 12 matching lines...) Expand all Loading... | |
297 IntVector virtual_registers_; | 300 IntVector virtual_registers_; |
298 InstructionScheduler* scheduler_; | 301 InstructionScheduler* scheduler_; |
299 Frame* frame_; | 302 Frame* frame_; |
300 }; | 303 }; |
301 | 304 |
302 } // namespace compiler | 305 } // namespace compiler |
303 } // namespace internal | 306 } // namespace internal |
304 } // namespace v8 | 307 } // namespace v8 |
305 | 308 |
306 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 309 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |