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 #include "vm/kernel_binary_flowgraph.h" | 5 #include "vm/kernel_binary_flowgraph.h" |
6 | 6 |
7 #include "vm/compiler.h" | 7 #include "vm/compiler.h" |
8 #include "vm/longjump.h" | 8 #include "vm/longjump.h" |
9 #include "vm/object_store.h" | 9 #include "vm/object_store.h" |
10 | 10 |
(...skipping 4106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4117 for (intptr_t i = 0; i < combinator_count; ++i) { | 4117 for (intptr_t i = 0; i < combinator_count; ++i) { |
4118 SkipLibraryCombinator(); | 4118 SkipLibraryCombinator(); |
4119 } | 4119 } |
4120 } | 4120 } |
4121 | 4121 |
4122 void StreamingFlowGraphBuilder::SkipLibraryTypedef() { | 4122 void StreamingFlowGraphBuilder::SkipLibraryTypedef() { |
4123 SkipCanonicalNameReference(); // read canonical name. | 4123 SkipCanonicalNameReference(); // read canonical name. |
4124 ReadPosition(); // read position. | 4124 ReadPosition(); // read position. |
4125 SkipStringReference(); // read name index. | 4125 SkipStringReference(); // read name index. |
4126 ReadUInt(); // read source_uri_index. | 4126 ReadUInt(); // read source_uri_index. |
4127 SkipListOfDartTypes(); // read type parameters. | 4127 SkipTypeParametersList(); // read type parameters. |
4128 SkipDartType(); // read type. | 4128 SkipDartType(); // read type. |
4129 } | 4129 } |
4130 | 4130 |
4131 TokenPosition StreamingFlowGraphBuilder::ReadPosition(bool record) { | 4131 TokenPosition StreamingFlowGraphBuilder::ReadPosition(bool record) { |
4132 TokenPosition position = reader_->ReadPosition(); | 4132 TokenPosition position = reader_->ReadPosition(); |
4133 if (record) { | 4133 if (record) { |
4134 record_token_position(position); | 4134 record_token_position(position); |
4135 } | 4135 } |
4136 return position; | 4136 return position; |
4137 } | 4137 } |
(...skipping 2931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7069 } | 7069 } |
7070 } | 7070 } |
7071 | 7071 |
7072 return Array::Handle(Array::null()); | 7072 return Array::Handle(Array::null()); |
7073 } | 7073 } |
7074 | 7074 |
7075 } // namespace kernel | 7075 } // namespace kernel |
7076 } // namespace dart | 7076 } // namespace dart |
7077 | 7077 |
7078 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 7078 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
OLD | NEW |