| 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 #include "vm/compiler.h" | 6 #include "vm/compiler.h" |
| 7 #include "vm/longjump.h" | 7 #include "vm/longjump.h" |
| 8 #include "vm/object_store.h" | 8 #include "vm/object_store.h" |
| 9 | 9 |
| 10 #if !defined(DART_PRECOMPILED_RUNTIME) | 10 #if !defined(DART_PRECOMPILED_RUNTIME) |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 case kAnnotations: | 427 case kAnnotations: |
| 428 builder_->SkipListOfExpressions(); // read annotations. | 428 builder_->SkipListOfExpressions(); // read annotations. |
| 429 if (++next_read_ == field) return; | 429 if (++next_read_ == field) return; |
| 430 case kDependencies: { | 430 case kDependencies: { |
| 431 intptr_t dependency_count = builder_->ReadUInt(); // read list length. | 431 intptr_t dependency_count = builder_->ReadUInt(); // read list length. |
| 432 for (intptr_t i = 0; i < dependency_count; ++i) { | 432 for (intptr_t i = 0; i < dependency_count; ++i) { |
| 433 builder_->SkipLibraryDependency(); | 433 builder_->SkipLibraryDependency(); |
| 434 } | 434 } |
| 435 if (++next_read_ == field) return; | 435 if (++next_read_ == field) return; |
| 436 } | 436 } |
| 437 case kAdditionalExports: { |
| 438 intptr_t name_count = builder_->ReadUInt(); |
| 439 for (intptr_t i = 0; i < name_count; ++i) { |
| 440 builder_->SkipCanonicalNameReference(); |
| 441 } |
| 442 if (++next_read_ == field) return; |
| 443 } |
| 437 case kParts: { | 444 case kParts: { |
| 438 intptr_t part_count = builder_->ReadUInt(); // read list length. | 445 intptr_t part_count = builder_->ReadUInt(); // read list length. |
| 439 for (intptr_t i = 0; i < part_count; ++i) { | 446 for (intptr_t i = 0; i < part_count; ++i) { |
| 440 builder_->SkipLibraryPart(); | 447 builder_->SkipLibraryPart(); |
| 441 } | 448 } |
| 442 if (++next_read_ == field) return; | 449 if (++next_read_ == field) return; |
| 443 } | 450 } |
| 444 case kTypedefs: { | 451 case kTypedefs: { |
| 445 intptr_t typedef_count = builder_->ReadListLength(); // read list length. | 452 intptr_t typedef_count = builder_->ReadListLength(); // read list length. |
| 446 for (intptr_t i = 0; i < typedef_count; i++) { | 453 for (intptr_t i = 0; i < typedef_count; i++) { |
| (...skipping 7381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7828 } | 7835 } |
| 7829 } | 7836 } |
| 7830 | 7837 |
| 7831 return Array::Handle(Array::null()); | 7838 return Array::Handle(Array::null()); |
| 7832 } | 7839 } |
| 7833 | 7840 |
| 7834 } // namespace kernel | 7841 } // namespace kernel |
| 7835 } // namespace dart | 7842 } // namespace dart |
| 7836 | 7843 |
| 7837 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 7844 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| OLD | NEW |