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

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

Issue 10332257: Revert my last change. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/parser.cc ('k') | runtime/vm/snapshot_test.cc » ('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 #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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 658
659 RAW_HEAP_OBJECT_IMPLEMENTATION(Library); 659 RAW_HEAP_OBJECT_IMPLEMENTATION(Library);
660 660
661 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } 661 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
662 RawString* name_; 662 RawString* name_;
663 RawString* url_; 663 RawString* url_;
664 RawScript* script_; 664 RawScript* script_;
665 RawString* private_key_; 665 RawString* private_key_;
666 RawArray* dictionary_; // Top-level names in this library. 666 RawArray* dictionary_; // Top-level names in this library.
667 RawArray* anonymous_classes_; // Classes containing top-level elements. 667 RawArray* anonymous_classes_; // Classes containing top-level elements.
668 RawArray* import_map_; // Map of import variable names to strings.
668 RawArray* imports_; // List of libraries imported without prefix. 669 RawArray* imports_; // List of libraries imported without prefix.
669 RawArray* imported_into_; // List of libraries where this library 670 RawArray* imported_into_; // List of libraries where this library
670 // is imported into without a prefix. 671 // is imported into without a prefix.
671 RawLibrary* next_registered_; // Linked list of registered libraries. 672 RawLibrary* next_registered_; // Linked list of registered libraries.
672 RawArray* loaded_scripts_; // Array of scripts loaded in this library. 673 RawArray* loaded_scripts_; // Array of scripts loaded in this library.
673 RawObject** to() { 674 RawObject** to() {
674 return reinterpret_cast<RawObject**>(&ptr()->next_registered_); 675 return reinterpret_cast<RawObject**>(&ptr()->next_registered_);
675 } 676 }
676 677
677 intptr_t num_imports_; // Number of entries in imports_. 678 intptr_t num_imports_; // Number of entries in imports_.
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 kExternalUint64Array == kByteArray + 18 && 1496 kExternalUint64Array == kByteArray + 18 &&
1496 kExternalFloat32Array == kByteArray + 19 && 1497 kExternalFloat32Array == kByteArray + 19 &&
1497 kExternalFloat64Array == kByteArray + 20 && 1498 kExternalFloat64Array == kByteArray + 20 &&
1498 kClosure == kByteArray + 21); 1499 kClosure == kByteArray + 21);
1499 return (index >= kByteArray && index <= kClosure); 1500 return (index >= kByteArray && index <= kClosure);
1500 } 1501 }
1501 1502
1502 } // namespace dart 1503 } // namespace dart
1503 1504
1504 #endif // VM_RAW_OBJECT_H_ 1505 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698