OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/snapshot.h" | 5 #include "vm/snapshot.h" |
6 | 6 |
7 #include "platform/assert.h" | 7 #include "platform/assert.h" |
8 #include "vm/bigint_operations.h" | 8 #include "vm/bigint_operations.h" |
9 #include "vm/bootstrap.h" | 9 #include "vm/bootstrap.h" |
10 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 RawTypeParameter* SnapshotReader::NewTypeParameter() { | 533 RawTypeParameter* SnapshotReader::NewTypeParameter() { |
534 ALLOC_NEW_OBJECT(TypeParameter, object_store()->type_parameter_class()); | 534 ALLOC_NEW_OBJECT(TypeParameter, object_store()->type_parameter_class()); |
535 } | 535 } |
536 | 536 |
537 | 537 |
538 RawBoundedType* SnapshotReader::NewBoundedType() { | 538 RawBoundedType* SnapshotReader::NewBoundedType() { |
539 ALLOC_NEW_OBJECT(BoundedType, object_store()->bounded_type_class()); | 539 ALLOC_NEW_OBJECT(BoundedType, object_store()->bounded_type_class()); |
540 } | 540 } |
541 | 541 |
542 | 542 |
| 543 RawMixinAppType* SnapshotReader::NewMixinAppType() { |
| 544 ALLOC_NEW_OBJECT(MixinAppType, object_store()->mixin_app_type_class()); |
| 545 } |
| 546 |
| 547 |
543 RawPatchClass* SnapshotReader::NewPatchClass() { | 548 RawPatchClass* SnapshotReader::NewPatchClass() { |
544 ALLOC_NEW_OBJECT(PatchClass, Object::patch_class_class()); | 549 ALLOC_NEW_OBJECT(PatchClass, Object::patch_class_class()); |
545 } | 550 } |
546 | 551 |
547 | 552 |
548 RawClosureData* SnapshotReader::NewClosureData() { | 553 RawClosureData* SnapshotReader::NewClosureData() { |
549 ALLOC_NEW_OBJECT(ClosureData, Object::closure_data_class()); | 554 ALLOC_NEW_OBJECT(ClosureData, Object::closure_data_class()); |
550 } | 555 } |
551 | 556 |
552 | 557 |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 UnmarkAll(); | 1414 UnmarkAll(); |
1410 isolate->set_long_jump_base(base); | 1415 isolate->set_long_jump_base(base); |
1411 } else { | 1416 } else { |
1412 isolate->set_long_jump_base(base); | 1417 isolate->set_long_jump_base(base); |
1413 ThrowException(exception_type(), exception_msg()); | 1418 ThrowException(exception_type(), exception_msg()); |
1414 } | 1419 } |
1415 } | 1420 } |
1416 | 1421 |
1417 | 1422 |
1418 } // namespace dart | 1423 } // namespace dart |
OLD | NEW |