| 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 3683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3694 intptr_t token_pos() const { return token_pos_; } | 3694 intptr_t token_pos() const { return token_pos_; } |
| 3695 | 3695 |
| 3696 virtual CompileType ComputeType() const; | 3696 virtual CompileType ComputeType() const; |
| 3697 // Issues a static call to Dart code whihc calls toString on objects. | 3697 // Issues a static call to Dart code whihc calls toString on objects. |
| 3698 virtual EffectSet Effects() const { return EffectSet::All(); } | 3698 virtual EffectSet Effects() const { return EffectSet::All(); } |
| 3699 virtual bool CanDeoptimize() const { return true; } | 3699 virtual bool CanDeoptimize() const { return true; } |
| 3700 virtual bool MayThrow() const { return true; } | 3700 virtual bool MayThrow() const { return true; } |
| 3701 | 3701 |
| 3702 const Function& CallFunction() const; | 3702 const Function& CallFunction() const; |
| 3703 | 3703 |
| 3704 virtual Definition* Canonicalize(FlowGraph* flow_graph); |
| 3705 |
| 3704 DECLARE_INSTRUCTION(StringInterpolate) | 3706 DECLARE_INSTRUCTION(StringInterpolate) |
| 3705 | 3707 |
| 3706 private: | 3708 private: |
| 3707 const intptr_t token_pos_; | 3709 const intptr_t token_pos_; |
| 3708 Function& function_; | 3710 Function& function_; |
| 3709 | 3711 |
| 3710 DISALLOW_COPY_AND_ASSIGN(StringInterpolateInstr); | 3712 DISALLOW_COPY_AND_ASSIGN(StringInterpolateInstr); |
| 3711 }; | 3713 }; |
| 3712 | 3714 |
| 3713 | 3715 |
| (...skipping 3184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6898 ForwardInstructionIterator* current_iterator_; | 6900 ForwardInstructionIterator* current_iterator_; |
| 6899 | 6901 |
| 6900 private: | 6902 private: |
| 6901 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 6903 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 6902 }; | 6904 }; |
| 6903 | 6905 |
| 6904 | 6906 |
| 6905 } // namespace dart | 6907 } // namespace dart |
| 6906 | 6908 |
| 6907 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 6909 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |