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

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

Issue 1123813002: Move symbol table from per isolate snapshot to vm isolate snapshot, this reduces the per isolate in… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/service.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/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 VerifiedMemory::Accept(reinterpret_cast<uword>(addr), kWordSize); 527 VerifiedMemory::Accept(reinterpret_cast<uword>(addr), kWordSize);
528 VerifiedMemory::Write(const_cast<RawSmi**>(addr), value); 528 VerifiedMemory::Write(const_cast<RawSmi**>(addr), value);
529 } 529 }
530 530
531 #if defined(DEBUG) 531 #if defined(DEBUG)
532 static void ValidateOverwrittenPointer(RawObject* raw); 532 static void ValidateOverwrittenPointer(RawObject* raw);
533 static void ValidateOverwrittenSmi(RawSmi* raw); 533 static void ValidateOverwrittenSmi(RawSmi* raw);
534 #endif // DEBUG 534 #endif // DEBUG
535 535
536 friend class Api; 536 friend class Api;
537 friend class ApiMessageReader; // GetClassId
537 friend class Array; 538 friend class Array;
538 friend class ByteBuffer; 539 friend class ByteBuffer;
539 friend class Code; 540 friend class Code;
540 friend class Closure; 541 friend class Closure;
541 friend class FreeListElement; 542 friend class FreeListElement;
542 friend class Function; 543 friend class Function;
543 friend class GCMarker; 544 friend class GCMarker;
544 friend class ExternalTypedData; 545 friend class ExternalTypedData;
545 friend class ForwardList; 546 friend class ForwardList;
546 friend class GrowableObjectArray; // StorePointer 547 friend class GrowableObjectArray; // StorePointer
(...skipping 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
2154 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2155 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2155 kTypedDataInt8ArrayViewCid + 15); 2156 kTypedDataInt8ArrayViewCid + 15);
2156 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2157 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2157 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2158 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2158 return (kNullCid - kTypedDataInt8ArrayCid); 2159 return (kNullCid - kTypedDataInt8ArrayCid);
2159 } 2160 }
2160 2161
2161 } // namespace dart 2162 } // namespace dart
2162 2163
2163 #endif // VM_RAW_OBJECT_H_ 2164 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698