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_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_H_ |
6 #define V8_COMPILER_INSTRUCTION_H_ | 6 #define V8_COMPILER_INSTRUCTION_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <map> | 10 #include <map> |
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 void Print() const; | 1498 void Print() const; |
1499 | 1499 |
1500 void PrintBlock(const RegisterConfiguration* config, int block_id) const; | 1500 void PrintBlock(const RegisterConfiguration* config, int block_id) const; |
1501 void PrintBlock(int block_id) const; | 1501 void PrintBlock(int block_id) const; |
1502 | 1502 |
1503 void ValidateEdgeSplitForm() const; | 1503 void ValidateEdgeSplitForm() const; |
1504 void ValidateDeferredBlockExitPaths() const; | 1504 void ValidateDeferredBlockExitPaths() const; |
1505 void ValidateDeferredBlockEntryPaths() const; | 1505 void ValidateDeferredBlockEntryPaths() const; |
1506 void ValidateSSA() const; | 1506 void ValidateSSA() const; |
1507 | 1507 |
1508 const RegisterConfiguration* GetRegisterConfigurationForTesting(); | |
1509 | |
1510 private: | 1508 private: |
1511 friend V8_EXPORT_PRIVATE std::ostream& operator<<( | 1509 friend V8_EXPORT_PRIVATE std::ostream& operator<<( |
1512 std::ostream& os, const PrintableInstructionSequence& code); | 1510 std::ostream& os, const PrintableInstructionSequence& code); |
1513 | 1511 |
1514 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; | 1512 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; |
1515 | 1513 |
1516 Isolate* isolate_; | 1514 Isolate* isolate_; |
1517 Zone* const zone_; | 1515 Zone* const zone_; |
1518 InstructionBlocks* const instruction_blocks_; | 1516 InstructionBlocks* const instruction_blocks_; |
1519 SourcePositionMap source_positions_; | 1517 SourcePositionMap source_positions_; |
(...skipping 18 matching lines...) Expand all Loading... |
1538 }; | 1536 }; |
1539 | 1537 |
1540 V8_EXPORT_PRIVATE std::ostream& operator<<( | 1538 V8_EXPORT_PRIVATE std::ostream& operator<<( |
1541 std::ostream& os, const PrintableInstructionSequence& code); | 1539 std::ostream& os, const PrintableInstructionSequence& code); |
1542 | 1540 |
1543 } // namespace compiler | 1541 } // namespace compiler |
1544 } // namespace internal | 1542 } // namespace internal |
1545 } // namespace v8 | 1543 } // namespace v8 |
1546 | 1544 |
1547 #endif // V8_COMPILER_INSTRUCTION_H_ | 1545 #endif // V8_COMPILER_INSTRUCTION_H_ |
OLD | NEW |