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 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 const bool deferred_; // Block contains deferred code. | 1076 const bool deferred_; // Block contains deferred code. |
1077 const bool handler_; // Block is a handler entry point. | 1077 const bool handler_; // Block is a handler entry point. |
1078 bool needs_frame_; | 1078 bool needs_frame_; |
1079 bool must_construct_frame_; | 1079 bool must_construct_frame_; |
1080 bool must_deconstruct_frame_; | 1080 bool must_deconstruct_frame_; |
1081 RpoNumber last_deferred_; | 1081 RpoNumber last_deferred_; |
1082 }; | 1082 }; |
1083 | 1083 |
1084 typedef ZoneDeque<Constant> ConstantDeque; | 1084 typedef ZoneDeque<Constant> ConstantDeque; |
1085 typedef std::map<int, Constant, std::less<int>, | 1085 typedef std::map<int, Constant, std::less<int>, |
1086 zone_allocator<std::pair<int, Constant> > > ConstantMap; | 1086 zone_allocator<std::pair<const int, Constant> > > ConstantMap; |
1087 | 1087 |
1088 typedef ZoneDeque<Instruction*> InstructionDeque; | 1088 typedef ZoneDeque<Instruction*> InstructionDeque; |
1089 typedef ZoneDeque<ReferenceMap*> ReferenceMapDeque; | 1089 typedef ZoneDeque<ReferenceMap*> ReferenceMapDeque; |
1090 typedef ZoneVector<FrameStateDescriptor*> DeoptimizationVector; | 1090 typedef ZoneVector<FrameStateDescriptor*> DeoptimizationVector; |
1091 typedef ZoneVector<InstructionBlock*> InstructionBlocks; | 1091 typedef ZoneVector<InstructionBlock*> InstructionBlocks; |
1092 | 1092 |
1093 struct PrintableInstructionSequence; | 1093 struct PrintableInstructionSequence; |
1094 | 1094 |
1095 | 1095 |
1096 // Represents architecture-specific generated code before, during, and after | 1096 // Represents architecture-specific generated code before, during, and after |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 | 1277 |
1278 | 1278 |
1279 std::ostream& operator<<(std::ostream& os, | 1279 std::ostream& operator<<(std::ostream& os, |
1280 const PrintableInstructionSequence& code); | 1280 const PrintableInstructionSequence& code); |
1281 | 1281 |
1282 } // namespace compiler | 1282 } // namespace compiler |
1283 } // namespace internal | 1283 } // namespace internal |
1284 } // namespace v8 | 1284 } // namespace v8 |
1285 | 1285 |
1286 #endif // V8_COMPILER_INSTRUCTION_H_ | 1286 #endif // V8_COMPILER_INSTRUCTION_H_ |
OLD | NEW |