OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 RUNTIME_VM_KERNEL_TO_IL_H_ | 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ |
6 #define RUNTIME_VM_KERNEL_TO_IL_H_ | 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ |
7 | 7 |
8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
9 | 9 |
10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 Fragment PushContext(int size); | 498 Fragment PushContext(int size); |
499 Fragment PopContext(); | 499 Fragment PopContext(); |
500 | 500 |
501 Fragment LoadInstantiatorTypeArguments(); | 501 Fragment LoadInstantiatorTypeArguments(); |
502 Fragment LoadFunctionTypeArguments(); | 502 Fragment LoadFunctionTypeArguments(); |
503 Fragment InstantiateType(const AbstractType& type); | 503 Fragment InstantiateType(const AbstractType& type); |
504 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); | 504 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); |
505 Fragment TranslateInstantiatedTypeArguments( | 505 Fragment TranslateInstantiatedTypeArguments( |
506 const TypeArguments& type_arguments); | 506 const TypeArguments& type_arguments); |
507 | 507 |
508 Fragment AllocateContext(int size); | 508 Fragment AllocateContext(intptr_t size); |
509 Fragment AllocateObject(TokenPosition position, | 509 Fragment AllocateObject(TokenPosition position, |
510 const dart::Class& klass, | 510 const dart::Class& klass, |
511 intptr_t argument_count); | 511 intptr_t argument_count); |
512 Fragment AllocateObject(const dart::Class& klass, | 512 Fragment AllocateObject(const dart::Class& klass, |
513 const Function& closure_function); | 513 const Function& closure_function); |
514 Fragment BooleanNegate(); | 514 Fragment BooleanNegate(); |
515 Fragment StrictCompare(Token::Kind kind, bool number_check = false); | 515 Fragment StrictCompare(Token::Kind kind, bool number_check = false); |
516 Fragment BranchIfTrue(TargetEntryInstr** then_entry, | 516 Fragment BranchIfTrue(TargetEntryInstr** then_entry, |
517 TargetEntryInstr** otherwise_entry, | 517 TargetEntryInstr** otherwise_entry, |
518 bool negate = false); | 518 bool negate = false); |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 namespace kernel { | 953 namespace kernel { |
954 | 954 |
955 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 955 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
956 RawObject* BuildParameterDescriptor(const Function& function); | 956 RawObject* BuildParameterDescriptor(const Function& function); |
957 | 957 |
958 } // namespace kernel | 958 } // namespace kernel |
959 } // namespace dart | 959 } // namespace dart |
960 | 960 |
961 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 961 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |