OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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_BINARY_FLOWGRAPH_H_ | 5 #ifndef RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
7 | 7 |
8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 Value* stack(); | 871 Value* stack(); |
872 void Push(Definition* definition); | 872 void Push(Definition* definition); |
873 Value* Pop(); | 873 Value* Pop(); |
874 | 874 |
875 Tag PeekArgumentsFirstPositionalTag(); | 875 Tag PeekArgumentsFirstPositionalTag(); |
876 const TypeArguments& PeekArgumentsInstantiatedType(const Class& klass); | 876 const TypeArguments& PeekArgumentsInstantiatedType(const Class& klass); |
877 intptr_t PeekArgumentsCount(); | 877 intptr_t PeekArgumentsCount(); |
878 intptr_t PeekArgumentsTypeCount(); | 878 intptr_t PeekArgumentsTypeCount(); |
879 void SkipArgumentsBeforeActualArguments(); | 879 void SkipArgumentsBeforeActualArguments(); |
880 | 880 |
| 881 LocalVariable* LookupParameterDirect(intptr_t kernel_offset, |
| 882 intptr_t parameter_index); |
881 LocalVariable* LookupVariable(intptr_t kernel_offset); | 883 LocalVariable* LookupVariable(intptr_t kernel_offset); |
882 LocalVariable* MakeTemporary(); | 884 LocalVariable* MakeTemporary(); |
883 Token::Kind MethodKind(const String& name); | 885 Token::Kind MethodKind(const String& name); |
884 RawFunction* LookupMethodByMember(NameIndex target, | 886 RawFunction* LookupMethodByMember(NameIndex target, |
885 const String& method_name); | 887 const String& method_name); |
886 | 888 |
887 bool NeedsDebugStepCheck(const Function& function, TokenPosition position); | 889 bool NeedsDebugStepCheck(const Function& function, TokenPosition position); |
888 bool NeedsDebugStepCheck(Value* value, TokenPosition position); | 890 bool NeedsDebugStepCheck(Value* value, TokenPosition position); |
889 | 891 |
890 void InlineBailout(const char* reason); | 892 void InlineBailout(const char* reason); |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 const uint8_t* saved_raw_buffer_; | 1131 const uint8_t* saved_raw_buffer_; |
1130 const TypedData* saved_typed_data_; | 1132 const TypedData* saved_typed_data_; |
1131 intptr_t saved_offset_; | 1133 intptr_t saved_offset_; |
1132 }; | 1134 }; |
1133 | 1135 |
1134 } // namespace kernel | 1136 } // namespace kernel |
1135 } // namespace dart | 1137 } // namespace dart |
1136 | 1138 |
1137 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1139 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1138 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 1140 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
OLD | NEW |