| 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 #include "vm/growable_array.h" | 8 #include "vm/growable_array.h" |
| 9 #include "vm/hash_map.h" | 9 #include "vm/hash_map.h" |
| 10 | 10 |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 Fragment InitStaticField(const dart::Field& field); | 701 Fragment InitStaticField(const dart::Field& field); |
| 702 Fragment LoadStaticField(); | 702 Fragment LoadStaticField(); |
| 703 Fragment NullConstant(); | 703 Fragment NullConstant(); |
| 704 Fragment NativeCall(const dart::String* name, const Function* function); | 704 Fragment NativeCall(const dart::String* name, const Function* function); |
| 705 Fragment PushArgument(); | 705 Fragment PushArgument(); |
| 706 Fragment Return(); | 706 Fragment Return(); |
| 707 Fragment StaticCall(const Function& target, intptr_t argument_count); | 707 Fragment StaticCall(const Function& target, intptr_t argument_count); |
| 708 Fragment StaticCall(const Function& target, intptr_t argument_count, | 708 Fragment StaticCall(const Function& target, intptr_t argument_count, |
| 709 const Array& argument_names); | 709 const Array& argument_names); |
| 710 Fragment StoreIndexed(intptr_t class_id); | 710 Fragment StoreIndexed(intptr_t class_id); |
| 711 Fragment StoreInstanceFieldGuarded(const dart::Field& field); |
| 711 Fragment StoreInstanceField(const dart::Field& field); | 712 Fragment StoreInstanceField(const dart::Field& field); |
| 712 Fragment StoreInstanceField(intptr_t offset); | 713 Fragment StoreInstanceField(intptr_t offset); |
| 713 Fragment StoreLocal(LocalVariable* variable); | 714 Fragment StoreLocal(LocalVariable* variable); |
| 714 Fragment StoreStaticField(const dart::Field& field); | 715 Fragment StoreStaticField(const dart::Field& field); |
| 715 Fragment StringInterpolate(); | 716 Fragment StringInterpolate(); |
| 716 Fragment ThrowTypeError(); | 717 Fragment ThrowTypeError(); |
| 717 Fragment ThrowNoSuchMethodError(); | 718 Fragment ThrowNoSuchMethodError(); |
| 718 Fragment BuildImplicitClosureCreation(const Function& target); | 719 Fragment BuildImplicitClosureCreation(const Function& target); |
| 720 Fragment GuardFieldLength(const dart::Field& field, intptr_t deopt_id); |
| 721 Fragment GuardFieldClass(const dart::Field& field, intptr_t deopt_id); |
| 719 | 722 |
| 720 dart::RawFunction* LookupMethodByMember(Member* target, | 723 dart::RawFunction* LookupMethodByMember(Member* target, |
| 721 const dart::String& method_name); | 724 const dart::String& method_name); |
| 722 | 725 |
| 723 LocalVariable* MakeTemporary(); | 726 LocalVariable* MakeTemporary(); |
| 724 LocalVariable* MakeNonTemporary(const dart::String& symbol); | 727 LocalVariable* MakeNonTemporary(const dart::String& symbol); |
| 725 | 728 |
| 726 intptr_t CurrentTryIndex(); | 729 intptr_t CurrentTryIndex(); |
| 727 intptr_t AllocateTryIndex() { return next_used_try_index_++; } | 730 intptr_t AllocateTryIndex() { return next_used_try_index_++; } |
| 728 | 731 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 friend class SwitchBlock; | 833 friend class SwitchBlock; |
| 831 friend class TryCatchBlock; | 834 friend class TryCatchBlock; |
| 832 friend class TryFinallyBlock; | 835 friend class TryFinallyBlock; |
| 833 }; | 836 }; |
| 834 | 837 |
| 835 } // namespace kernel | 838 } // namespace kernel |
| 836 } // namespace dart | 839 } // namespace dart |
| 837 | 840 |
| 838 | 841 |
| 839 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 842 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
| OLD | NEW |