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

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

Issue 1179913003: [turbofan] Remove unused typedef VirtualRegisterSet. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months 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 | no next file » | 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 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 for (Instruction* instr : instructions_) { 1166 for (Instruction* instr : instructions_) {
1167 if (instr->IsCall()) return true; 1167 if (instr->IsCall()) return true;
1168 } 1168 }
1169 return false; 1169 return false;
1170 } 1170 }
1171 1171
1172 private: 1172 private:
1173 friend std::ostream& operator<<(std::ostream& os, 1173 friend std::ostream& operator<<(std::ostream& os,
1174 const PrintableInstructionSequence& code); 1174 const PrintableInstructionSequence& code);
1175 1175
1176 typedef std::set<int, std::less<int>, ZoneIntAllocator> VirtualRegisterSet;
1177 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; 1176 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap;
1178 1177
1179 Isolate* isolate_; 1178 Isolate* isolate_;
1180 Zone* const zone_; 1179 Zone* const zone_;
1181 InstructionBlocks* const instruction_blocks_; 1180 InstructionBlocks* const instruction_blocks_;
1182 SourcePositionMap source_positions_; 1181 SourcePositionMap source_positions_;
1183 IntVector block_starts_; 1182 IntVector block_starts_;
1184 ConstantMap constants_; 1183 ConstantMap constants_;
1185 Immediates immediates_; 1184 Immediates immediates_;
1186 InstructionDeque instructions_; 1185 InstructionDeque instructions_;
(...skipping 13 matching lines...) Expand all
1200 1199
1201 1200
1202 std::ostream& operator<<(std::ostream& os, 1201 std::ostream& operator<<(std::ostream& os,
1203 const PrintableInstructionSequence& code); 1202 const PrintableInstructionSequence& code);
1204 1203
1205 } // namespace compiler 1204 } // namespace compiler
1206 } // namespace internal 1205 } // namespace internal
1207 } // namespace v8 1206 } // namespace v8
1208 1207
1209 #endif // V8_COMPILER_INSTRUCTION_H_ 1208 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698