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

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

Issue 1150183002: Fix build errors with GCC (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/assembler.h ('k') | 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/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 986
987 // PC offsets for code patching. 987 // PC offsets for code patching.
988 int32_t entry_patch_pc_offset_; 988 int32_t entry_patch_pc_offset_;
989 int32_t patch_code_pc_offset_; 989 int32_t patch_code_pc_offset_;
990 int32_t lazy_deopt_pc_offset_; 990 int32_t lazy_deopt_pc_offset_;
991 991
992 // Variable length data follows here. 992 // Variable length data follows here.
993 int32_t* data() { OPEN_ARRAY_START(int32_t, int32_t); } 993 int32_t* data() { OPEN_ARRAY_START(int32_t, int32_t); }
994 const int32_t* data() const { OPEN_ARRAY_START(int32_t, int32_t); } 994 const int32_t* data() const { OPEN_ARRAY_START(int32_t, int32_t); }
995 995
996 friend class Code;
997 friend class Function; 996 friend class Function;
998 friend class MarkingVisitor; 997 friend class MarkingVisitor;
999 friend class StackFrame; 998 friend class StackFrame;
1000 }; 999 };
1001 1000
1002 1001
1003 class RawInstructions : public RawObject { 1002 class RawInstructions : public RawObject {
1004 RAW_HEAP_OBJECT_IMPLEMENTATION(Instructions); 1003 RAW_HEAP_OBJECT_IMPLEMENTATION(Instructions);
1005 1004
1006 RawObject** from() { 1005 RawObject** from() {
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2131 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2133 kTypedDataInt8ArrayViewCid + 15); 2132 kTypedDataInt8ArrayViewCid + 15);
2134 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2133 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2135 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2134 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2136 return (kNullCid - kTypedDataInt8ArrayCid); 2135 return (kNullCid - kTypedDataInt8ArrayCid);
2137 } 2136 }
2138 2137
2139 } // namespace dart 2138 } // namespace dart
2140 2139
2141 #endif // VM_RAW_OBJECT_H_ 2140 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698