OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ |
6 #define RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 GrowableArray<BlockEntryInstr*> dominated_blocks_; | 1246 GrowableArray<BlockEntryInstr*> dominated_blocks_; |
1247 Instruction* last_instruction_; | 1247 Instruction* last_instruction_; |
1248 | 1248 |
1249 // Offset of this block from the start of the emitted code. | 1249 // Offset of this block from the start of the emitted code. |
1250 intptr_t offset_; | 1250 intptr_t offset_; |
1251 | 1251 |
1252 // Parallel move that will be used by linear scan register allocator to | 1252 // Parallel move that will be used by linear scan register allocator to |
1253 // connect live ranges at the start of the block. | 1253 // connect live ranges at the start of the block. |
1254 ParallelMoveInstr* parallel_move_; | 1254 ParallelMoveInstr* parallel_move_; |
1255 | 1255 |
1256 // Bit vector containg loop blocks for a loop header indexed by block | 1256 // Bit vector containing loop blocks for a loop header indexed by block |
1257 // preorder number. | 1257 // preorder number. |
1258 BitVector* loop_info_; | 1258 BitVector* loop_info_; |
1259 | 1259 |
1260 DISALLOW_COPY_AND_ASSIGN(BlockEntryInstr); | 1260 DISALLOW_COPY_AND_ASSIGN(BlockEntryInstr); |
1261 }; | 1261 }; |
1262 | 1262 |
1263 | 1263 |
1264 class ForwardInstructionIterator : public ValueObject { | 1264 class ForwardInstructionIterator : public ValueObject { |
1265 public: | 1265 public: |
1266 explicit ForwardInstructionIterator(BlockEntryInstr* block_entry) | 1266 explicit ForwardInstructionIterator(BlockEntryInstr* block_entry) |
(...skipping 6847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8114 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8114 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
8115 UNIMPLEMENTED(); \ | 8115 UNIMPLEMENTED(); \ |
8116 return NULL; \ | 8116 return NULL; \ |
8117 } \ | 8117 } \ |
8118 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8118 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
8119 | 8119 |
8120 | 8120 |
8121 } // namespace dart | 8121 } // namespace dart |
8122 | 8122 |
8123 #endif // RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ | 8123 #endif // RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |