| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 Linkage* linkage() const { return linkage_; } | 340 Linkage* linkage() const { return linkage_; } |
| 341 InstructionSequence* sequence() const { return sequence_; } | 341 InstructionSequence* sequence() const { return sequence_; } |
| 342 Zone* instruction_zone() const { return sequence()->zone(); } | 342 Zone* instruction_zone() const { return sequence()->zone(); } |
| 343 Zone* zone() const { return zone_; } | 343 Zone* zone() const { return zone_; } |
| 344 | 344 |
| 345 void set_instruction_selection_failed() { | 345 void set_instruction_selection_failed() { |
| 346 instruction_selection_failed_ = true; | 346 instruction_selection_failed_ = true; |
| 347 } | 347 } |
| 348 bool instruction_selection_failed() { return instruction_selection_failed_; } | 348 bool instruction_selection_failed() { return instruction_selection_failed_; } |
| 349 | 349 |
| 350 void MarkPairProjectionsAsWord32(Node* node); |
| 351 |
| 350 // =========================================================================== | 352 // =========================================================================== |
| 351 | 353 |
| 352 Zone* const zone_; | 354 Zone* const zone_; |
| 353 Linkage* const linkage_; | 355 Linkage* const linkage_; |
| 354 InstructionSequence* const sequence_; | 356 InstructionSequence* const sequence_; |
| 355 SourcePositionTable* const source_positions_; | 357 SourcePositionTable* const source_positions_; |
| 356 SourcePositionMode const source_position_mode_; | 358 SourcePositionMode const source_position_mode_; |
| 357 Features features_; | 359 Features features_; |
| 358 Schedule* const schedule_; | 360 Schedule* const schedule_; |
| 359 BasicBlock* current_block_; | 361 BasicBlock* current_block_; |
| 360 ZoneVector<Instruction*> instructions_; | 362 ZoneVector<Instruction*> instructions_; |
| 361 BoolVector defined_; | 363 BoolVector defined_; |
| 362 BoolVector used_; | 364 BoolVector used_; |
| 363 IntVector effect_level_; | 365 IntVector effect_level_; |
| 364 IntVector virtual_registers_; | 366 IntVector virtual_registers_; |
| 365 IntVector virtual_register_rename_; | 367 IntVector virtual_register_rename_; |
| 366 InstructionScheduler* scheduler_; | 368 InstructionScheduler* scheduler_; |
| 367 EnableScheduling enable_scheduling_; | 369 EnableScheduling enable_scheduling_; |
| 368 EnableSerialization enable_serialization_; | 370 EnableSerialization enable_serialization_; |
| 369 Frame* frame_; | 371 Frame* frame_; |
| 370 bool instruction_selection_failed_; | 372 bool instruction_selection_failed_; |
| 371 }; | 373 }; |
| 372 | 374 |
| 373 } // namespace compiler | 375 } // namespace compiler |
| 374 } // namespace internal | 376 } // namespace internal |
| 375 } // namespace v8 | 377 } // namespace v8 |
| 376 | 378 |
| 377 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 379 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |