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 #ifndef VM_OBJECT_STORE_H_ | 5 #ifndef VM_OBJECT_STORE_H_ |
6 #define VM_OBJECT_STORE_H_ | 6 #define VM_OBJECT_STORE_H_ |
7 | 7 |
8 #include "vm/object.h" | 8 #include "vm/object.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 case Snapshot::kScript: | 605 case Snapshot::kScript: |
606 case Snapshot::kMessage: | 606 case Snapshot::kMessage: |
607 case Snapshot::kNone: | 607 case Snapshot::kNone: |
608 case Snapshot::kInvalid: | 608 case Snapshot::kInvalid: |
609 break; | 609 break; |
610 } | 610 } |
611 UNREACHABLE(); | 611 UNREACHABLE(); |
612 return NULL; | 612 return NULL; |
613 } | 613 } |
614 | 614 |
615 friend class FullSnapshotWriter; | 615 friend class Serializer; |
616 friend class SnapshotReader; | 616 friend class Deserializer; |
617 friend class VmIsolateSnapshotReader; | |
618 | 617 |
619 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 618 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
620 }; | 619 }; |
621 | 620 |
622 } // namespace dart | 621 } // namespace dart |
623 | 622 |
624 #endif // VM_OBJECT_STORE_H_ | 623 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |