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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 RawType* SnapshotReader::NewType() { | 515 RawType* SnapshotReader::NewType() { |
516 ALLOC_NEW_OBJECT(Type, object_store()->type_class()); | 516 ALLOC_NEW_OBJECT(Type, object_store()->type_class()); |
517 } | 517 } |
518 | 518 |
519 | 519 |
520 RawTypeParameter* SnapshotReader::NewTypeParameter() { | 520 RawTypeParameter* SnapshotReader::NewTypeParameter() { |
521 ALLOC_NEW_OBJECT(TypeParameter, object_store()->type_parameter_class()); | 521 ALLOC_NEW_OBJECT(TypeParameter, object_store()->type_parameter_class()); |
522 } | 522 } |
523 | 523 |
524 | 524 |
| 525 RawBoundedType* SnapshotReader::NewBoundedType() { |
| 526 ALLOC_NEW_OBJECT(BoundedType, object_store()->bounded_type_class()); |
| 527 } |
| 528 |
| 529 |
525 RawPatchClass* SnapshotReader::NewPatchClass() { | 530 RawPatchClass* SnapshotReader::NewPatchClass() { |
526 ALLOC_NEW_OBJECT(PatchClass, Object::patch_class_class()); | 531 ALLOC_NEW_OBJECT(PatchClass, Object::patch_class_class()); |
527 } | 532 } |
528 | 533 |
529 | 534 |
530 RawClosureData* SnapshotReader::NewClosureData() { | 535 RawClosureData* SnapshotReader::NewClosureData() { |
531 ALLOC_NEW_OBJECT(ClosureData, Object::closure_data_class()); | 536 ALLOC_NEW_OBJECT(ClosureData, Object::closure_data_class()); |
532 } | 537 } |
533 | 538 |
534 | 539 |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 UnmarkAll(); | 1355 UnmarkAll(); |
1351 isolate->set_long_jump_base(base); | 1356 isolate->set_long_jump_base(base); |
1352 } else { | 1357 } else { |
1353 isolate->set_long_jump_base(base); | 1358 isolate->set_long_jump_base(base); |
1354 ThrowException(exception_type(), exception_msg()); | 1359 ThrowException(exception_type(), exception_msg()); |
1355 } | 1360 } |
1356 } | 1361 } |
1357 | 1362 |
1358 | 1363 |
1359 } // namespace dart | 1364 } // namespace dart |
OLD | NEW |