| 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 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 } | 1348 } |
| 1349 return false; | 1349 return false; |
| 1350 } | 1350 } |
| 1351 void Print(const RegisterConfiguration* config) const; | 1351 void Print(const RegisterConfiguration* config) const; |
| 1352 void Print() const; | 1352 void Print() const; |
| 1353 | 1353 |
| 1354 void PrintBlock(const RegisterConfiguration* config, int block_id) const; | 1354 void PrintBlock(const RegisterConfiguration* config, int block_id) const; |
| 1355 void PrintBlock(int block_id) const; | 1355 void PrintBlock(int block_id) const; |
| 1356 | 1356 |
| 1357 void ValidateEdgeSplitForm(); | 1357 void ValidateEdgeSplitForm(); |
| 1358 void ValidateDeferredBlockExitPaths(); |
| 1358 void ValidateSSA(); | 1359 void ValidateSSA(); |
| 1359 | 1360 |
| 1360 private: | 1361 private: |
| 1361 friend std::ostream& operator<<(std::ostream& os, | 1362 friend std::ostream& operator<<(std::ostream& os, |
| 1362 const PrintableInstructionSequence& code); | 1363 const PrintableInstructionSequence& code); |
| 1363 | 1364 |
| 1364 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; | 1365 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; |
| 1365 | 1366 |
| 1366 Isolate* isolate_; | 1367 Isolate* isolate_; |
| 1367 Zone* const zone_; | 1368 Zone* const zone_; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1387 | 1388 |
| 1388 | 1389 |
| 1389 std::ostream& operator<<(std::ostream& os, | 1390 std::ostream& operator<<(std::ostream& os, |
| 1390 const PrintableInstructionSequence& code); | 1391 const PrintableInstructionSequence& code); |
| 1391 | 1392 |
| 1392 } // namespace compiler | 1393 } // namespace compiler |
| 1393 } // namespace internal | 1394 } // namespace internal |
| 1394 } // namespace v8 | 1395 } // namespace v8 |
| 1395 | 1396 |
| 1396 #endif // V8_COMPILER_INSTRUCTION_H_ | 1397 #endif // V8_COMPILER_INSTRUCTION_H_ |
| OLD | NEW |