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

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

Issue 14520010: First step towards loading the core library scripts directly from the sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« runtime/vm/object.cc ('K') | « runtime/vm/object_store.cc ('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_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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 V(SwitchExpr, ":switch_expr") \ 237 V(SwitchExpr, ":switch_expr") \
238 V(TwoNewlines, "\n\n") \ 238 V(TwoNewlines, "\n\n") \
239 V(TwoSpaces, " ") \ 239 V(TwoSpaces, " ") \
240 V(_instanceOf, "_instanceOf") \ 240 V(_instanceOf, "_instanceOf") \
241 V(_as, "_as") \ 241 V(_as, "_as") \
242 V(PrivateGetterPrefix, "get:_") \ 242 V(PrivateGetterPrefix, "get:_") \
243 V(PrivateSetterPrefix, "set:_") \ 243 V(PrivateSetterPrefix, "set:_") \
244 V(_New, "_new") \ 244 V(_New, "_new") \
245 V(DartScheme, "dart:") \ 245 V(DartScheme, "dart:") \
246 V(DartSchemePrivate, "dart:_") \ 246 V(DartSchemePrivate, "dart:_") \
247 V(DartNativeWrappers, "dart:nativewrappers") \
248 V(DartAsync, "dart:async") \
247 V(DartCore, "dart:core") \ 249 V(DartCore, "dart:core") \
248 V(DartCollection, "dart:collection") \ 250 V(DartCollection, "dart:collection") \
249 V(DartCollectionDev, "dart:_collection-dev") \ 251 V(DartCollectionDev, "dart:_collection-dev") \
252 V(DartCrypto, "dart:crypto") \
253 V(DartIsolate, "dart:isolate") \
254 V(DartJson, "dart:json") \
250 V(DartMath, "dart:math") \ 255 V(DartMath, "dart:math") \
251 V(DartIsolate, "dart:isolate") \
252 V(DartMirrors, "dart:mirrors") \ 256 V(DartMirrors, "dart:mirrors") \
253 V(DartTypedData, "dart:typed_data") \ 257 V(DartTypedData, "dart:typed_data") \
254 V(DartNativeWrappers, "dart:nativewrappers") \
255 V(DartAsync, "dart:async") \
256 V(DartUri, "dart:uri") \ 258 V(DartUri, "dart:uri") \
257 V(DartUtf, "dart:utf") \ 259 V(DartUtf, "dart:utf") \
258 V(DartCrypto, "dart:crypto") \
259 V(DartJson, "dart:json") \
260 260
261 261
262 // Contains a list of frequently used strings in a canonicalized form. This 262 // Contains a list of frequently used strings in a canonicalized form. This
263 // list is kept in the vm_isolate in order to share the copy across isolates 263 // list is kept in the vm_isolate in order to share the copy across isolates
264 // without having to maintain copies in each isolate. 264 // without having to maintain copies in each isolate.
265 class Symbols : public AllStatic { 265 class Symbols : public AllStatic {
266 public: 266 public:
267 enum { kMaxOneCharCodeSymbol = 0xFF }; 267 enum { kMaxOneCharCodeSymbol = 0xFF };
268 268
269 // List of strings that are pre created in the vm isolate. 269 // List of strings that are pre created in the vm isolate.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 friend class SnapshotReader; 449 friend class SnapshotReader;
450 friend class SnapshotWriter; 450 friend class SnapshotWriter;
451 friend class ApiMessageReader; 451 friend class ApiMessageReader;
452 452
453 DISALLOW_COPY_AND_ASSIGN(Symbols); 453 DISALLOW_COPY_AND_ASSIGN(Symbols);
454 }; 454 };
455 455
456 } // namespace dart 456 } // namespace dart
457 457
458 #endif // VM_SYMBOLS_H_ 458 #endif // VM_SYMBOLS_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698