| 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 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2051 ZoneGrowableArray<PushArgumentInstr*>* arguments, | 2051 ZoneGrowableArray<PushArgumentInstr*>* arguments, |
| 2052 const Array& argument_names, | 2052 const Array& argument_names, |
| 2053 intptr_t checked_argument_count) | 2053 intptr_t checked_argument_count) |
| 2054 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())), | 2054 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())), |
| 2055 token_pos_(token_pos), | 2055 token_pos_(token_pos), |
| 2056 function_name_(function_name), | 2056 function_name_(function_name), |
| 2057 token_kind_(token_kind), | 2057 token_kind_(token_kind), |
| 2058 arguments_(arguments), | 2058 arguments_(arguments), |
| 2059 argument_names_(argument_names), | 2059 argument_names_(argument_names), |
| 2060 checked_argument_count_(checked_argument_count) { | 2060 checked_argument_count_(checked_argument_count) { |
| 2061 ASSERT(function_name.IsZoneHandle()); | 2061 ASSERT(function_name.IsPredefinedHandle() || function_name.IsZoneHandle()); |
| 2062 ASSERT(!arguments->is_empty()); | 2062 ASSERT(!arguments->is_empty()); |
| 2063 ASSERT(argument_names.IsZoneHandle()); | 2063 ASSERT(argument_names.IsZoneHandle()); |
| 2064 ASSERT(Token::IsBinaryOperator(token_kind) || | 2064 ASSERT(Token::IsBinaryOperator(token_kind) || |
| 2065 Token::IsPrefixOperator(token_kind) || | 2065 Token::IsPrefixOperator(token_kind) || |
| 2066 Token::IsIndexOperator(token_kind) || | 2066 Token::IsIndexOperator(token_kind) || |
| 2067 token_kind == Token::kGET || | 2067 token_kind == Token::kGET || |
| 2068 token_kind == Token::kSET || | 2068 token_kind == Token::kSET || |
| 2069 token_kind == Token::kILLEGAL); | 2069 token_kind == Token::kILLEGAL); |
| 2070 } | 2070 } |
| 2071 | 2071 |
| (...skipping 2229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4301 ForwardInstructionIterator* current_iterator_; | 4301 ForwardInstructionIterator* current_iterator_; |
| 4302 | 4302 |
| 4303 private: | 4303 private: |
| 4304 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4304 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4305 }; | 4305 }; |
| 4306 | 4306 |
| 4307 | 4307 |
| 4308 } // namespace dart | 4308 } // namespace dart |
| 4309 | 4309 |
| 4310 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4310 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |