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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 | 734 |
735 Environment* env() const { return env_; } | 735 Environment* env() const { return env_; } |
736 void SetEnvironment(Environment* deopt_env); | 736 void SetEnvironment(Environment* deopt_env); |
737 void RemoveEnvironment(); | 737 void RemoveEnvironment(); |
738 | 738 |
739 intptr_t lifetime_position() const { return lifetime_position_; } | 739 intptr_t lifetime_position() const { return lifetime_position_; } |
740 void set_lifetime_position(intptr_t pos) { | 740 void set_lifetime_position(intptr_t pos) { |
741 lifetime_position_ = pos; | 741 lifetime_position_ = pos; |
742 } | 742 } |
743 | 743 |
| 744 bool HasUnmatchedInputRepresentations() const; |
| 745 |
744 // Returns representation expected for the input operand at the given index. | 746 // Returns representation expected for the input operand at the given index. |
745 virtual Representation RequiredInputRepresentation(intptr_t idx) const { | 747 virtual Representation RequiredInputRepresentation(intptr_t idx) const { |
746 return kTagged; | 748 return kTagged; |
747 } | 749 } |
748 | 750 |
749 // Representation of the value produced by this computation. | 751 // Representation of the value produced by this computation. |
750 virtual Representation representation() const { | 752 virtual Representation representation() const { |
751 return kTagged; | 753 return kTagged; |
752 } | 754 } |
753 | 755 |
(...skipping 6986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7740 Isolate* isolate, bool opt) const { \ | 7742 Isolate* isolate, bool opt) const { \ |
7741 UNIMPLEMENTED(); \ | 7743 UNIMPLEMENTED(); \ |
7742 return NULL; \ | 7744 return NULL; \ |
7743 } \ | 7745 } \ |
7744 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 7746 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
7745 | 7747 |
7746 | 7748 |
7747 } // namespace dart | 7749 } // namespace dart |
7748 | 7750 |
7749 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 7751 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |