Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: runtime/vm/snapshot.cc

Issue 12779008: Mixins with Generics (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/snapshot.h ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/snapshot.h ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698