| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 M(LoadStaticField) \ | 459 M(LoadStaticField) \ |
| 460 M(StoreStaticField) \ | 460 M(StoreStaticField) \ |
| 461 M(BooleanNegate) \ | 461 M(BooleanNegate) \ |
| 462 M(InstanceOf) \ | 462 M(InstanceOf) \ |
| 463 M(CreateArray) \ | 463 M(CreateArray) \ |
| 464 M(CreateClosure) \ | 464 M(CreateClosure) \ |
| 465 M(AllocateObject) \ | 465 M(AllocateObject) \ |
| 466 M(AllocateObjectWithBoundsCheck) \ | 466 M(AllocateObjectWithBoundsCheck) \ |
| 467 M(LoadField) \ | 467 M(LoadField) \ |
| 468 M(StoreVMField) \ | 468 M(StoreVMField) \ |
| 469 M(LoadUntagged) \ | 469 M(LoadUntagged) \ |
| 470 M(InstantiateTypeArguments) \ | 470 M(InstantiateTypeArguments) \ |
| 471 M(ExtractConstructorTypeArguments) \ | 471 M(ExtractConstructorTypeArguments) \ |
| 472 M(ExtractConstructorInstantiator) \ | 472 M(ExtractConstructorInstantiator) \ |
| 473 M(AllocateContext) \ | 473 M(AllocateContext) \ |
| 474 M(ChainContext) \ | 474 M(ChainContext) \ |
| 475 M(CloneContext) \ | 475 M(CloneContext) \ |
| 476 M(CatchEntry) \ | 476 M(CatchEntry) \ |
| 477 M(BinarySmiOp) \ | 477 M(BinarySmiOp) \ |
| 478 M(UnarySmiOp) \ | 478 M(UnarySmiOp) \ |
| 479 M(CheckStackOverflow) \ | 479 M(CheckStackOverflow) \ |
| (...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2308 arguments_(arguments), | 2308 arguments_(arguments), |
| 2309 argument_names_(argument_names), | 2309 argument_names_(argument_names), |
| 2310 checked_argument_count_(checked_argument_count) { | 2310 checked_argument_count_(checked_argument_count) { |
| 2311 ASSERT(function_name.IsNotTemporaryScopedHandle()); | 2311 ASSERT(function_name.IsNotTemporaryScopedHandle()); |
| 2312 ASSERT(!arguments->is_empty()); | 2312 ASSERT(!arguments->is_empty()); |
| 2313 ASSERT(argument_names.IsZoneHandle()); | 2313 ASSERT(argument_names.IsZoneHandle()); |
| 2314 ASSERT(Token::IsBinaryOperator(token_kind) || | 2314 ASSERT(Token::IsBinaryOperator(token_kind) || |
| 2315 Token::IsPrefixOperator(token_kind) || | 2315 Token::IsPrefixOperator(token_kind) || |
| 2316 Token::IsIndexOperator(token_kind) || | 2316 Token::IsIndexOperator(token_kind) || |
| 2317 Token::IsTypeTestOperator(token_kind) || | 2317 Token::IsTypeTestOperator(token_kind) || |
| 2318 Token::IsTypeCastOperator(token_kind) || |
| 2318 token_kind == Token::kGET || | 2319 token_kind == Token::kGET || |
| 2319 token_kind == Token::kSET || | 2320 token_kind == Token::kSET || |
| 2320 token_kind == Token::kILLEGAL); | 2321 token_kind == Token::kILLEGAL); |
| 2321 } | 2322 } |
| 2322 | 2323 |
| 2323 DECLARE_INSTRUCTION(InstanceCall) | 2324 DECLARE_INSTRUCTION(InstanceCall) |
| 2324 | 2325 |
| 2325 const ICData* ic_data() const { return ic_data_; } | 2326 const ICData* ic_data() const { return ic_data_; } |
| 2326 bool HasICData() const { | 2327 bool HasICData() const { |
| 2327 return (ic_data() != NULL) && !ic_data()->IsNull(); | 2328 return (ic_data() != NULL) && !ic_data()->IsNull(); |
| (...skipping 2348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4676 ForwardInstructionIterator* current_iterator_; | 4677 ForwardInstructionIterator* current_iterator_; |
| 4677 | 4678 |
| 4678 private: | 4679 private: |
| 4679 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4680 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4680 }; | 4681 }; |
| 4681 | 4682 |
| 4682 | 4683 |
| 4683 } // namespace dart | 4684 } // namespace dart |
| 4684 | 4685 |
| 4685 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4686 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |