| 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 4124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4135 } | 4135 } |
| 4136 | 4136 |
| 4137 virtual bool CanDeoptimize() const { return false; } | 4137 virtual bool CanDeoptimize() const { return false; } |
| 4138 virtual EffectSet Effects() const { return EffectSet::None(); } | 4138 virtual EffectSet Effects() const { return EffectSet::None(); } |
| 4139 | 4139 |
| 4140 Location* locations() { return locations_; } | 4140 Location* locations() { return locations_; } |
| 4141 void set_locations(Location* locations) { locations_ = locations; } | 4141 void set_locations(Location* locations) { locations_ = locations; } |
| 4142 | 4142 |
| 4143 virtual bool MayThrow() const { return false; } | 4143 virtual bool MayThrow() const { return false; } |
| 4144 | 4144 |
| 4145 void RemapRegisters(intptr_t* fpu_reg_slots, | 4145 void RemapRegisters(intptr_t* cpu_reg_slots, |
| 4146 intptr_t* cpu_reg_slots); | 4146 intptr_t* fpu_reg_slots); |
| 4147 | 4147 |
| 4148 bool was_visited_for_liveness() const { return visited_for_liveness_; } | 4148 bool was_visited_for_liveness() const { return visited_for_liveness_; } |
| 4149 void mark_visited_for_liveness() { | 4149 void mark_visited_for_liveness() { |
| 4150 visited_for_liveness_ = true; | 4150 visited_for_liveness_ = true; |
| 4151 } | 4151 } |
| 4152 | 4152 |
| 4153 private: | 4153 private: |
| 4154 virtual void RawSetInputAt(intptr_t i, Value* value) { | 4154 virtual void RawSetInputAt(intptr_t i, Value* value) { |
| 4155 (*values_)[i] = value; | 4155 (*values_)[i] = value; |
| 4156 } | 4156 } |
| (...skipping 3845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8002 Isolate* isolate, bool opt) const { \ | 8002 Isolate* isolate, bool opt) const { \ |
| 8003 UNIMPLEMENTED(); \ | 8003 UNIMPLEMENTED(); \ |
| 8004 return NULL; \ | 8004 return NULL; \ |
| 8005 } \ | 8005 } \ |
| 8006 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8006 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8007 | 8007 |
| 8008 | 8008 |
| 8009 } // namespace dart | 8009 } // namespace dart |
| 8010 | 8010 |
| 8011 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8011 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |