| 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 3908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3919 } | 3919 } |
| 3920 | 3920 |
| 3921 virtual bool CanDeoptimize() const { return false; } | 3921 virtual bool CanDeoptimize() const { return false; } |
| 3922 virtual EffectSet Effects() const { return EffectSet::None(); } | 3922 virtual EffectSet Effects() const { return EffectSet::None(); } |
| 3923 | 3923 |
| 3924 Location* locations() { return locations_; } | 3924 Location* locations() { return locations_; } |
| 3925 void set_locations(Location* locations) { locations_ = locations; } | 3925 void set_locations(Location* locations) { locations_ = locations; } |
| 3926 | 3926 |
| 3927 virtual bool MayThrow() const { return false; } | 3927 virtual bool MayThrow() const { return false; } |
| 3928 | 3928 |
| 3929 void RemapRegisters(intptr_t* fpu_reg_slots, | 3929 void RemapRegisters(intptr_t* cpu_reg_slots, |
| 3930 intptr_t* cpu_reg_slots); | 3930 intptr_t* fpu_reg_slots); |
| 3931 | 3931 |
| 3932 bool was_visited_for_liveness() const { return visited_for_liveness_; } | 3932 bool was_visited_for_liveness() const { return visited_for_liveness_; } |
| 3933 void mark_visited_for_liveness() { | 3933 void mark_visited_for_liveness() { |
| 3934 visited_for_liveness_ = true; | 3934 visited_for_liveness_ = true; |
| 3935 } | 3935 } |
| 3936 | 3936 |
| 3937 private: | 3937 private: |
| 3938 virtual void RawSetInputAt(intptr_t i, Value* value) { | 3938 virtual void RawSetInputAt(intptr_t i, Value* value) { |
| 3939 (*values_)[i] = value; | 3939 (*values_)[i] = value; |
| 3940 } | 3940 } |
| (...skipping 3801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7742 Isolate* isolate, bool opt) const { \ | 7742 Isolate* isolate, bool opt) const { \ |
| 7743 UNIMPLEMENTED(); \ | 7743 UNIMPLEMENTED(); \ |
| 7744 return NULL; \ | 7744 return NULL; \ |
| 7745 } \ | 7745 } \ |
| 7746 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 7746 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 7747 | 7747 |
| 7748 | 7748 |
| 7749 } // namespace dart | 7749 } // namespace dart |
| 7750 | 7750 |
| 7751 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 7751 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |