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

Side by Side Diff: vm/raw_object.h

Issue 9721006: Second set of changes for implementation of stack map support. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/object.cc ('k') | vm/vm_sources.gypi » ('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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 class RawCode : public RawObject { 645 class RawCode : public RawObject {
646 RAW_HEAP_OBJECT_IMPLEMENTATION(Code); 646 RAW_HEAP_OBJECT_IMPLEMENTATION(Code);
647 647
648 RawObject** from() { 648 RawObject** from() {
649 return reinterpret_cast<RawObject**>(&ptr()->instructions_); 649 return reinterpret_cast<RawObject**>(&ptr()->instructions_);
650 } 650 }
651 RawInstructions* instructions_; 651 RawInstructions* instructions_;
652 RawFunction* function_; 652 RawFunction* function_;
653 RawExceptionHandlers* exception_handlers_; 653 RawExceptionHandlers* exception_handlers_;
654 RawPcDescriptors* pc_descriptors_; 654 RawPcDescriptors* pc_descriptors_;
655 RawArray* stackmaps_;
655 RawLocalVarDescriptors* var_descriptors_; 656 RawLocalVarDescriptors* var_descriptors_;
656 RawObject** to() { 657 RawObject** to() {
657 return reinterpret_cast<RawObject**>(&ptr()->var_descriptors_); 658 return reinterpret_cast<RawObject**>(&ptr()->var_descriptors_);
658 } 659 }
659 660
660 intptr_t pointer_offsets_length_; 661 intptr_t pointer_offsets_length_;
661 // This cannot be boolean because of alignment issues on x64 architectures. 662 // This cannot be boolean because of alignment issues on x64 architectures.
662 intptr_t is_optimized_; 663 intptr_t is_optimized_;
663 664
664 // Variable length data follows here. 665 // Variable length data follows here.
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 intptr_t type_; // Uninitialized, simple or complex. 1163 intptr_t type_; // Uninitialized, simple or complex.
1163 intptr_t flags_; // Represents global/local, case insensitive, multiline. 1164 intptr_t flags_; // Represents global/local, case insensitive, multiline.
1164 1165
1165 // Variable length data follows here. 1166 // Variable length data follows here.
1166 uint8_t data_[0]; 1167 uint8_t data_[0];
1167 }; 1168 };
1168 1169
1169 } // namespace dart 1170 } // namespace dart
1170 1171
1171 #endif // VM_RAW_OBJECT_H_ 1172 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « vm/object.cc ('k') | vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698