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

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

Issue 10861041: Provide an Expando implementation for the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: make WeakProperty private Created 8 years, 4 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.cc ('k') | tests/corelib/corelib.status » ('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_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/snapshot_ids.h" 9 #include "vm/snapshot_ids.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 V(GrowableObjectArray, "GrowableObjectArray") \ 94 V(GrowableObjectArray, "GrowableObjectArray") \
95 V(ImmutableArray, "ImmutableArray") \ 95 V(ImmutableArray, "ImmutableArray") \
96 V(OneByteString, "OneByteString") \ 96 V(OneByteString, "OneByteString") \
97 V(TwoByteString, "TwoByteString") \ 97 V(TwoByteString, "TwoByteString") \
98 V(FourByteString, "FourByteString") \ 98 V(FourByteString, "FourByteString") \
99 V(ExternalOneByteString, "ExternalOneByteString") \ 99 V(ExternalOneByteString, "ExternalOneByteString") \
100 V(ExternalTwoByteString, "ExternalTwoByteString") \ 100 V(ExternalTwoByteString, "ExternalTwoByteString") \
101 V(ExternalFourByteString, "ExternalFourByteString") \ 101 V(ExternalFourByteString, "ExternalFourByteString") \
102 V(Stacktrace, "Stacktrace") \ 102 V(Stacktrace, "Stacktrace") \
103 V(JSSyntaxRegExp, "JSSyntaxRegExp") \ 103 V(JSSyntaxRegExp, "JSSyntaxRegExp") \
104 V(WeakProperty, "WeakProperty") \
105 V(Object, "Object") \ 104 V(Object, "Object") \
106 V(_Int8Array, "_Int8Array") \ 105 V(_Int8Array, "_Int8Array") \
107 V(_Uint8Array, "_Uint8Array") \ 106 V(_Uint8Array, "_Uint8Array") \
108 V(_Int16Array, "_Int16Array") \ 107 V(_Int16Array, "_Int16Array") \
109 V(_Uint16Array, "_Uint16Array") \ 108 V(_Uint16Array, "_Uint16Array") \
110 V(_Int32Array, "_Int32Array") \ 109 V(_Int32Array, "_Int32Array") \
111 V(_Uint32Array, "_Uint32Array") \ 110 V(_Uint32Array, "_Uint32Array") \
112 V(_Int64Array, "_Int64Array") \ 111 V(_Int64Array, "_Int64Array") \
113 V(_Uint64Array, "_Uint64Array") \ 112 V(_Uint64Array, "_Uint64Array") \
114 V(_Float32Array, "_Float32Array") \ 113 V(_Float32Array, "_Float32Array") \
115 V(_Float64Array, "_Float64Array") \ 114 V(_Float64Array, "_Float64Array") \
116 V(_ExternalInt8Array, "_ExternalInt8Array") \ 115 V(_ExternalInt8Array, "_ExternalInt8Array") \
117 V(_ExternalUint8Array, "_ExternalUint8Array") \ 116 V(_ExternalUint8Array, "_ExternalUint8Array") \
118 V(_ExternalInt16Array, "_ExternalInt16Array") \ 117 V(_ExternalInt16Array, "_ExternalInt16Array") \
119 V(_ExternalUint16Array, "_ExternalUint16Array") \ 118 V(_ExternalUint16Array, "_ExternalUint16Array") \
120 V(_ExternalInt32Array, "_ExternalInt32Array") \ 119 V(_ExternalInt32Array, "_ExternalInt32Array") \
121 V(_ExternalUint32Array, "_ExternalUint32Array") \ 120 V(_ExternalUint32Array, "_ExternalUint32Array") \
122 V(_ExternalInt64Array, "_ExternalInt64Array") \ 121 V(_ExternalInt64Array, "_ExternalInt64Array") \
123 V(_ExternalUint64Array, "_ExternalUint64Array") \ 122 V(_ExternalUint64Array, "_ExternalUint64Array") \
124 V(_ExternalFloat32Array, "_ExternalFloat32Array") \ 123 V(_ExternalFloat32Array, "_ExternalFloat32Array") \
125 V(_ExternalFloat64Array, "_ExternalFloat64Array") \ 124 V(_ExternalFloat64Array, "_ExternalFloat64Array") \
125 V(_WeakProperty, "_WeakProperty") \
126 126
127 // Contains a list of frequently used strings in a canonicalized form. This 127 // Contains a list of frequently used strings in a canonicalized form. This
128 // list is kept in the vm_isolate in order to share the copy across isolates 128 // list is kept in the vm_isolate in order to share the copy across isolates
129 // without having to maintain copies in each isolate. 129 // without having to maintain copies in each isolate.
130 class Symbols : public AllStatic { 130 class Symbols : public AllStatic {
131 public: 131 public:
132 // List of strings that are pre created in the vm isolate. 132 // List of strings that are pre created in the vm isolate.
133 enum { 133 enum {
134 kIllegal = 0, 134 kIllegal = 0,
135 135
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 friend class SnapshotReader; 208 friend class SnapshotReader;
209 friend class SnapshotWriter; 209 friend class SnapshotWriter;
210 friend class ApiMessageReader; 210 friend class ApiMessageReader;
211 211
212 DISALLOW_COPY_AND_ASSIGN(Symbols); 212 DISALLOW_COPY_AND_ASSIGN(Symbols);
213 }; 213 };
214 214
215 } // namespace dart 215 } // namespace dart
216 216
217 #endif // VM_SYMBOLS_H_ 217 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698