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

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

Issue 10386107: Implement spawnUri from dart:isolate. This function allows us to (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
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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 641
642 RAW_HEAP_OBJECT_IMPLEMENTATION(Library); 642 RAW_HEAP_OBJECT_IMPLEMENTATION(Library);
643 643
644 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } 644 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
645 RawString* name_; 645 RawString* name_;
646 RawString* url_; 646 RawString* url_;
647 RawScript* script_; 647 RawScript* script_;
648 RawString* private_key_; 648 RawString* private_key_;
649 RawArray* dictionary_; // Top-level names in this library. 649 RawArray* dictionary_; // Top-level names in this library.
650 RawArray* anonymous_classes_; // Classes containing top-level elements. 650 RawArray* anonymous_classes_; // Classes containing top-level elements.
651 RawArray* import_map_; // Map of import variable names to strings.
652 RawArray* imports_; // List of libraries imported without prefix. 651 RawArray* imports_; // List of libraries imported without prefix.
653 RawArray* imported_into_; // List of libraries where this library 652 RawArray* imported_into_; // List of libraries where this library
654 // is imported into without a prefix. 653 // is imported into without a prefix.
655 RawLibrary* next_registered_; // Linked list of registered libraries. 654 RawLibrary* next_registered_; // Linked list of registered libraries.
656 RawArray* loaded_scripts_; // Array of scripts loaded in this library. 655 RawArray* loaded_scripts_; // Array of scripts loaded in this library.
657 RawObject** to() { 656 RawObject** to() {
658 return reinterpret_cast<RawObject**>(&ptr()->next_registered_); 657 return reinterpret_cast<RawObject**>(&ptr()->next_registered_);
659 } 658 }
660 659
661 intptr_t num_imports_; // Number of entries in imports_. 660 intptr_t num_imports_; // Number of entries in imports_.
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 intptr_t type_; // Uninitialized, simple or complex. 1356 intptr_t type_; // Uninitialized, simple or complex.
1358 intptr_t flags_; // Represents global/local, case insensitive, multiline. 1357 intptr_t flags_; // Represents global/local, case insensitive, multiline.
1359 1358
1360 // Variable length data follows here. 1359 // Variable length data follows here.
1361 uint8_t data_[0]; 1360 uint8_t data_[0];
1362 }; 1361 };
1363 1362
1364 } // namespace dart 1363 } // namespace dart
1365 1364
1366 #endif // VM_RAW_OBJECT_H_ 1365 #endif // VM_RAW_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698