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

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

Issue 10979035: - Remove obsolete class. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 RawClass* parameterized_class_; 501 RawClass* parameterized_class_;
502 RawString* name_; 502 RawString* name_;
503 RawAbstractType* bound_; // DynamicType if no explicit bound specified. 503 RawAbstractType* bound_; // DynamicType if no explicit bound specified.
504 RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->bound_); } 504 RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->bound_); }
505 intptr_t index_; 505 intptr_t index_;
506 intptr_t token_pos_; 506 intptr_t token_pos_;
507 int8_t type_state_; 507 int8_t type_state_;
508 }; 508 };
509 509
510 510
511 class RawInstantiatedType : public RawAbstractType {
512 private:
513 RAW_HEAP_OBJECT_IMPLEMENTATION(InstantiatedType);
514
515 RawObject** from() {
516 return reinterpret_cast<RawObject**>(&ptr()->uninstantiated_type_);
517 }
518 RawAbstractType* uninstantiated_type_;
519 RawAbstractTypeArguments* instantiator_type_arguments_;
520 RawObject** to() {
521 return reinterpret_cast<RawObject**>(&ptr()->instantiator_type_arguments_);
522 }
523 };
524
525
526 class RawAbstractTypeArguments : public RawObject { 511 class RawAbstractTypeArguments : public RawObject {
527 private: 512 private:
528 RAW_HEAP_OBJECT_IMPLEMENTATION(AbstractTypeArguments); 513 RAW_HEAP_OBJECT_IMPLEMENTATION(AbstractTypeArguments);
529 }; 514 };
530 515
531 516
532 class RawTypeArguments : public RawAbstractTypeArguments { 517 class RawTypeArguments : public RawAbstractTypeArguments {
533 private: 518 private:
534 RAW_HEAP_OBJECT_IMPLEMENTATION(TypeArguments); 519 RAW_HEAP_OBJECT_IMPLEMENTATION(TypeArguments);
535 520
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 kExternalUint64ArrayCid == kByteArrayCid + 18 && 1621 kExternalUint64ArrayCid == kByteArrayCid + 18 &&
1637 kExternalFloat32ArrayCid == kByteArrayCid + 19 && 1622 kExternalFloat32ArrayCid == kByteArrayCid + 19 &&
1638 kExternalFloat64ArrayCid == kByteArrayCid + 20 && 1623 kExternalFloat64ArrayCid == kByteArrayCid + 20 &&
1639 kStacktraceCid == kByteArrayCid + 21); 1624 kStacktraceCid == kByteArrayCid + 21);
1640 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); 1625 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid);
1641 } 1626 }
1642 1627
1643 } // namespace dart 1628 } // namespace dart
1644 1629
1645 #endif // VM_RAW_OBJECT_H_ 1630 #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