| 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 VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define 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 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 | 1322 |
| 1323 void AddIndirectEntry(IndirectEntryInstr* entry) { | 1323 void AddIndirectEntry(IndirectEntryInstr* entry) { |
| 1324 indirect_entries_.Add(entry); | 1324 indirect_entries_.Add(entry); |
| 1325 } | 1325 } |
| 1326 | 1326 |
| 1327 GrowableArray<Definition*>* initial_definitions() { | 1327 GrowableArray<Definition*>* initial_definitions() { |
| 1328 return &initial_definitions_; | 1328 return &initial_definitions_; |
| 1329 } | 1329 } |
| 1330 ConstantInstr* constant_null(); | 1330 ConstantInstr* constant_null(); |
| 1331 | 1331 |
| 1332 bool IsCompiledForOsr() const { return osr_id_ != Thread::kNoDeoptId; } | 1332 bool IsCompiledForOsr() const; |
| 1333 | 1333 |
| 1334 intptr_t entry_count() const { return entry_count_; } | 1334 intptr_t entry_count() const { return entry_count_; } |
| 1335 void set_entry_count(intptr_t count) { entry_count_ = count; } | 1335 void set_entry_count(intptr_t count) { entry_count_ = count; } |
| 1336 | 1336 |
| 1337 intptr_t spill_slot_count() const { return spill_slot_count_; } | 1337 intptr_t spill_slot_count() const { return spill_slot_count_; } |
| 1338 void set_spill_slot_count(intptr_t count) { | 1338 void set_spill_slot_count(intptr_t count) { |
| 1339 ASSERT(count >= 0); | 1339 ASSERT(count >= 0); |
| 1340 spill_slot_count_ = count; | 1340 spill_slot_count_ = count; |
| 1341 } | 1341 } |
| 1342 | 1342 |
| (...skipping 6768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8111 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8111 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8112 UNIMPLEMENTED(); \ | 8112 UNIMPLEMENTED(); \ |
| 8113 return NULL; \ | 8113 return NULL; \ |
| 8114 } \ | 8114 } \ |
| 8115 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8115 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8116 | 8116 |
| 8117 | 8117 |
| 8118 } // namespace dart | 8118 } // namespace dart |
| 8119 | 8119 |
| 8120 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8120 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |