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

Side by Side Diff: runtime/vm/raw_object.h

Issue 136453010: Unfriend RawType (missed in cl 133273015). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | 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 #ifndef VM_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 522
523 RawObject** from() { 523 RawObject** from() {
524 return reinterpret_cast<RawObject**>(&ptr()->library_prefix_); 524 return reinterpret_cast<RawObject**>(&ptr()->library_prefix_);
525 } 525 }
526 RawLibraryPrefix* library_prefix_; // Library prefix qualifier for the ident. 526 RawLibraryPrefix* library_prefix_; // Library prefix qualifier for the ident.
527 RawString* ident_; // Name of the unresolved identifier. 527 RawString* ident_; // Name of the unresolved identifier.
528 RawObject** to() { 528 RawObject** to() {
529 return reinterpret_cast<RawObject**>(&ptr()->ident_); 529 return reinterpret_cast<RawObject**>(&ptr()->ident_);
530 } 530 }
531 intptr_t token_pos_; 531 intptr_t token_pos_;
532
533 friend class RawType; // TODO(regis): To temporarily print unfinalized types.
534 }; 532 };
535 533
536 534
537 class RawAbstractTypeArguments : public RawObject { 535 class RawAbstractTypeArguments : public RawObject {
538 private: 536 private:
539 RAW_HEAP_OBJECT_IMPLEMENTATION(AbstractTypeArguments); 537 RAW_HEAP_OBJECT_IMPLEMENTATION(AbstractTypeArguments);
540 }; 538 };
541 539
542 540
543 class RawTypeArguments : public RawAbstractTypeArguments { 541 class RawTypeArguments : public RawAbstractTypeArguments {
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1744 // Make sure this is updated when new TypedData types are added. 1742 // Make sure this is updated when new TypedData types are added.
1745 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 13); 1743 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 13);
1746 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 14); 1744 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 14);
1747 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 13); 1745 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 13);
1748 return (kNullCid - kTypedDataInt8ArrayCid); 1746 return (kNullCid - kTypedDataInt8ArrayCid);
1749 } 1747 }
1750 1748
1751 } // namespace dart 1749 } // namespace dart
1752 1750
1753 #endif // VM_RAW_OBJECT_H_ 1751 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698