| 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 void ReadUntilFunctionNode(); | 789 void ReadUntilFunctionNode(); |
| 790 StringIndex GetNameFromVariableDeclaration(intptr_t kernel_offset, | 790 StringIndex GetNameFromVariableDeclaration(intptr_t kernel_offset, |
| 791 const Function& function); | 791 const Function& function); |
| 792 | 792 |
| 793 FlowGraph* BuildGraphOfStaticFieldInitializer(); | 793 FlowGraph* BuildGraphOfStaticFieldInitializer(); |
| 794 FlowGraph* BuildGraphOfFieldAccessor(LocalVariable* setter_value); | 794 FlowGraph* BuildGraphOfFieldAccessor(LocalVariable* setter_value); |
| 795 void SetupDefaultParameterValues(); | 795 void SetupDefaultParameterValues(); |
| 796 Fragment BuildFieldInitializer(NameIndex canonical_name); | 796 Fragment BuildFieldInitializer(NameIndex canonical_name); |
| 797 Fragment BuildInitializers(const Class& parent_class); | 797 Fragment BuildInitializers(const Class& parent_class); |
| 798 FlowGraph* BuildGraphOfImplicitClosureFunction(const Function& function); | 798 FlowGraph* BuildGraphOfImplicitClosureFunction(const Function& function); |
| 799 FlowGraph* BuildGraphOfConvertedClosureFunction(const Function& function); | |
| 800 FlowGraph* BuildGraphOfFunction(bool constructor); | 799 FlowGraph* BuildGraphOfFunction(bool constructor); |
| 801 | 800 |
| 802 Fragment BuildExpression(TokenPosition* position = NULL); | 801 Fragment BuildExpression(TokenPosition* position = NULL); |
| 803 Fragment BuildStatement(); | 802 Fragment BuildStatement(); |
| 804 | 803 |
| 805 intptr_t ReaderOffset(); | 804 intptr_t ReaderOffset(); |
| 806 void SetOffset(intptr_t offset); | 805 void SetOffset(intptr_t offset); |
| 807 void SkipBytes(intptr_t skip); | 806 void SkipBytes(intptr_t skip); |
| 808 bool ReadBool(); | 807 bool ReadBool(); |
| 809 uint8_t ReadByte(); | 808 uint8_t ReadByte(); |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 const uint8_t* saved_raw_buffer_; | 1130 const uint8_t* saved_raw_buffer_; |
| 1132 const TypedData* saved_typed_data_; | 1131 const TypedData* saved_typed_data_; |
| 1133 intptr_t saved_offset_; | 1132 intptr_t saved_offset_; |
| 1134 }; | 1133 }; |
| 1135 | 1134 |
| 1136 } // namespace kernel | 1135 } // namespace kernel |
| 1137 } // namespace dart | 1136 } // namespace dart |
| 1138 | 1137 |
| 1139 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1138 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 1140 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 1139 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
| OLD | NEW |