| 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 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2045 token_kind_(token_kind), | 2045 token_kind_(token_kind), |
| 2046 arguments_(arguments), | 2046 arguments_(arguments), |
| 2047 argument_names_(argument_names), | 2047 argument_names_(argument_names), |
| 2048 checked_argument_count_(checked_argument_count) { | 2048 checked_argument_count_(checked_argument_count) { |
| 2049 ASSERT(function_name.IsNotTemporaryScopedHandle()); | 2049 ASSERT(function_name.IsNotTemporaryScopedHandle()); |
| 2050 ASSERT(!arguments->is_empty()); | 2050 ASSERT(!arguments->is_empty()); |
| 2051 ASSERT(argument_names.IsZoneHandle()); | 2051 ASSERT(argument_names.IsZoneHandle()); |
| 2052 ASSERT(Token::IsBinaryOperator(token_kind) || | 2052 ASSERT(Token::IsBinaryOperator(token_kind) || |
| 2053 Token::IsPrefixOperator(token_kind) || | 2053 Token::IsPrefixOperator(token_kind) || |
| 2054 Token::IsIndexOperator(token_kind) || | 2054 Token::IsIndexOperator(token_kind) || |
| 2055 Token::IsTypeTestOperator(token_kind) || |
| 2055 token_kind == Token::kGET || | 2056 token_kind == Token::kGET || |
| 2056 token_kind == Token::kSET || | 2057 token_kind == Token::kSET || |
| 2057 token_kind == Token::kILLEGAL); | 2058 token_kind == Token::kILLEGAL); |
| 2058 } | 2059 } |
| 2059 | 2060 |
| 2060 DECLARE_INSTRUCTION(InstanceCall) | 2061 DECLARE_INSTRUCTION(InstanceCall) |
| 2061 virtual RawAbstractType* CompileType() const; | 2062 virtual RawAbstractType* CompileType() const; |
| 2062 | 2063 |
| 2063 const ICData* ic_data() const { return ic_data_; } | 2064 const ICData* ic_data() const { return ic_data_; } |
| 2064 bool HasICData() const { | 2065 bool HasICData() const { |
| (...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4322 ForwardInstructionIterator* current_iterator_; | 4323 ForwardInstructionIterator* current_iterator_; |
| 4323 | 4324 |
| 4324 private: | 4325 private: |
| 4325 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4326 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4326 }; | 4327 }; |
| 4327 | 4328 |
| 4328 | 4329 |
| 4329 } // namespace dart | 4330 } // namespace dart |
| 4330 | 4331 |
| 4331 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4332 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |