| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1946 } | 1946 } |
| 1947 | 1947 |
| 1948 virtual void PrintOperandsTo(BufferFormatter* f) const; | 1948 virtual void PrintOperandsTo(BufferFormatter* f) const; |
| 1949 | 1949 |
| 1950 virtual bool CanDeoptimize() const { return false; } | 1950 virtual bool CanDeoptimize() const { return false; } |
| 1951 | 1951 |
| 1952 virtual bool HasSideEffect() const { return false; } | 1952 virtual bool HasSideEffect() const { return false; } |
| 1953 | 1953 |
| 1954 virtual intptr_t ResultCid() const { return kBoolCid; } | 1954 virtual intptr_t ResultCid() const { return kBoolCid; } |
| 1955 | 1955 |
| 1956 virtual Definition* Canonicalize(); |
| 1957 |
| 1956 private: | 1958 private: |
| 1957 const intptr_t token_pos_; | 1959 const intptr_t token_pos_; |
| 1958 bool is_eliminated_; | 1960 bool is_eliminated_; |
| 1959 | 1961 |
| 1960 DISALLOW_COPY_AND_ASSIGN(AssertBooleanInstr); | 1962 DISALLOW_COPY_AND_ASSIGN(AssertBooleanInstr); |
| 1961 }; | 1963 }; |
| 1962 | 1964 |
| 1963 | 1965 |
| 1964 class ArgumentDefinitionTestInstr : public TemplateDefinition<1> { | 1966 class ArgumentDefinitionTestInstr : public TemplateDefinition<1> { |
| 1965 public: | 1967 public: |
| (...skipping 2240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4206 ForwardInstructionIterator* current_iterator_; | 4208 ForwardInstructionIterator* current_iterator_; |
| 4207 | 4209 |
| 4208 private: | 4210 private: |
| 4209 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4211 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4210 }; | 4212 }; |
| 4211 | 4213 |
| 4212 | 4214 |
| 4213 } // namespace dart | 4215 } // namespace dart |
| 4214 | 4216 |
| 4215 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4217 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |