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

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

Issue 15502004: Intrinsify random nextState, improve perfromance significantly. (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
« no previous file with comments | « runtime/vm/object.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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 V(DartCollection, "dart:collection") \ 250 V(DartCollection, "dart:collection") \
251 V(DartCollectionDev, "dart:_collection-dev") \ 251 V(DartCollectionDev, "dart:_collection-dev") \
252 V(DartCrypto, "dart:crypto") \ 252 V(DartCrypto, "dart:crypto") \
253 V(DartIsolate, "dart:isolate") \ 253 V(DartIsolate, "dart:isolate") \
254 V(DartJson, "dart:json") \ 254 V(DartJson, "dart:json") \
255 V(DartMath, "dart:math") \ 255 V(DartMath, "dart:math") \
256 V(DartMirrors, "dart:mirrors") \ 256 V(DartMirrors, "dart:mirrors") \
257 V(DartTypedData, "dart:typed_data") \ 257 V(DartTypedData, "dart:typed_data") \
258 V(DartUri, "dart:uri") \ 258 V(DartUri, "dart:uri") \
259 V(DartUtf, "dart:utf") \ 259 V(DartUtf, "dart:utf") \
260 V(_Random, "_Random") \
261 V(_state, "_state") \
262 V(_A, "_A") \
260 263
261 264
262 // Contains a list of frequently used strings in a canonicalized form. This 265 // 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 266 // list is kept in the vm_isolate in order to share the copy across isolates
264 // without having to maintain copies in each isolate. 267 // without having to maintain copies in each isolate.
265 class Symbols : public AllStatic { 268 class Symbols : public AllStatic {
266 public: 269 public:
267 enum { kMaxOneCharCodeSymbol = 0xFF }; 270 enum { kMaxOneCharCodeSymbol = 0xFF };
268 271
269 // List of strings that are pre created in the vm isolate. 272 // List of strings that are pre created in the vm isolate.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 friend class SnapshotReader; 455 friend class SnapshotReader;
453 friend class SnapshotWriter; 456 friend class SnapshotWriter;
454 friend class ApiMessageReader; 457 friend class ApiMessageReader;
455 458
456 DISALLOW_COPY_AND_ASSIGN(Symbols); 459 DISALLOW_COPY_AND_ASSIGN(Symbols);
457 }; 460 };
458 461
459 } // namespace dart 462 } // namespace dart
460 463
461 #endif // VM_SYMBOLS_H_ 464 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698