Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: src/compiler/instruction.h

Issue 2433093002: MIPS: Fix bad RegisterConfiguration usage in InstructionSequence unit tests. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
1508 private: 1510 private:
1509 friend V8_EXPORT_PRIVATE std::ostream& operator<<( 1511 friend V8_EXPORT_PRIVATE std::ostream& operator<<(
1510 std::ostream& os, const PrintableInstructionSequence& code); 1512 std::ostream& os, const PrintableInstructionSequence& code);
1511 1513
1512 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; 1514 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap;
1513 1515
1514 Isolate* isolate_; 1516 Isolate* isolate_;
1515 Zone* const zone_; 1517 Zone* const zone_;
1516 InstructionBlocks* const instruction_blocks_; 1518 InstructionBlocks* const instruction_blocks_;
1517 SourcePositionMap source_positions_; 1519 SourcePositionMap source_positions_;
(...skipping 18 matching lines...) Expand all
1536 }; 1538 };
1537 1539
1538 V8_EXPORT_PRIVATE std::ostream& operator<<( 1540 V8_EXPORT_PRIVATE std::ostream& operator<<(
1539 std::ostream& os, const PrintableInstructionSequence& code); 1541 std::ostream& os, const PrintableInstructionSequence& code);
1540 1542
1541 } // namespace compiler 1543 } // namespace compiler
1542 } // namespace internal 1544 } // namespace internal
1543 } // namespace v8 1545 } // namespace v8
1544 1546
1545 #endif // V8_COMPILER_INSTRUCTION_H_ 1547 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698