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

Side by Side Diff: vm/raw_object.h

Issue 11265026: - Consolidate code into the old generation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 1 month 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
« vm/pages.cc ('K') | « vm/pages.cc ('k') | vm/stack_frame.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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 return reinterpret_cast<RawObject**>(&ptr()->instructions_); 727 return reinterpret_cast<RawObject**>(&ptr()->instructions_);
728 } 728 }
729 RawInstructions* instructions_; 729 RawInstructions* instructions_;
730 RawFunction* function_; 730 RawFunction* function_;
731 RawExceptionHandlers* exception_handlers_; 731 RawExceptionHandlers* exception_handlers_;
732 RawPcDescriptors* pc_descriptors_; 732 RawPcDescriptors* pc_descriptors_;
733 RawArray* deopt_info_array_; 733 RawArray* deopt_info_array_;
734 RawArray* object_table_; 734 RawArray* object_table_;
735 RawArray* stackmaps_; 735 RawArray* stackmaps_;
736 RawLocalVarDescriptors* var_descriptors_; 736 RawLocalVarDescriptors* var_descriptors_;
737 RawGrowableObjectArray* resolved_static_calls_;
737 RawArray* comments_; 738 RawArray* comments_;
738 RawObject** to() { 739 RawObject** to() {
739 return reinterpret_cast<RawObject**>(&ptr()->comments_); 740 return reinterpret_cast<RawObject**>(&ptr()->comments_);
740 } 741 }
741 742
742 intptr_t pointer_offsets_length_; 743 intptr_t pointer_offsets_length_;
743 // These fields cannot be boolean because of alignment issues on x64 744 // These fields cannot be boolean because of alignment issues on x64
744 // architectures. 745 // architectures.
745 intptr_t is_optimized_; 746 intptr_t is_optimized_;
746 // If true, the embedded object pointers will be visited during GC. 747 // If true, the embedded object pointers will be visited during GC.
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 kExternalUint64ArrayCid == kByteArrayCid + 18 && 1607 kExternalUint64ArrayCid == kByteArrayCid + 18 &&
1607 kExternalFloat32ArrayCid == kByteArrayCid + 19 && 1608 kExternalFloat32ArrayCid == kByteArrayCid + 19 &&
1608 kExternalFloat64ArrayCid == kByteArrayCid + 20 && 1609 kExternalFloat64ArrayCid == kByteArrayCid + 20 &&
1609 kStacktraceCid == kByteArrayCid + 21); 1610 kStacktraceCid == kByteArrayCid + 21);
1610 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); 1611 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid);
1611 } 1612 }
1612 1613
1613 } // namespace dart 1614 } // namespace dart
1614 1615
1615 #endif // VM_RAW_OBJECT_H_ 1616 #endif // VM_RAW_OBJECT_H_
OLDNEW
« vm/pages.cc ('K') | « vm/pages.cc ('k') | vm/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698