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

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

Issue 12090010: Added result cids to some natives (byte array _new). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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/flow_graph_builder.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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 V(RParenArrow, ") => ") \ 184 V(RParenArrow, ") => ") \
185 V(SpaceExtendsSpace, " extends ") \ 185 V(SpaceExtendsSpace, " extends ") \
186 V(PatchSpace, "patch ") \ 186 V(PatchSpace, "patch ") \
187 V(AliasOwner, ":alias_owner") \ 187 V(AliasOwner, ":alias_owner") \
188 V(SwitchExpr, ":switch_expr") \ 188 V(SwitchExpr, ":switch_expr") \
189 V(TwoNewlines, "\n\n") \ 189 V(TwoNewlines, "\n\n") \
190 V(TwoSpaces, " ") \ 190 V(TwoSpaces, " ") \
191 V(_instanceOf, "_instanceOf") \ 191 V(_instanceOf, "_instanceOf") \
192 V(PrivateGetterPrefix, "get:_") \ 192 V(PrivateGetterPrefix, "get:_") \
193 V(PrivateSetterPrefix, "set:_") \ 193 V(PrivateSetterPrefix, "set:_") \
194 V(_New, "_new") \
194 195
195 196
196 // Contains a list of frequently used strings in a canonicalized form. This 197 // Contains a list of frequently used strings in a canonicalized form. This
197 // list is kept in the vm_isolate in order to share the copy across isolates 198 // list is kept in the vm_isolate in order to share the copy across isolates
198 // without having to maintain copies in each isolate. 199 // without having to maintain copies in each isolate.
199 class Symbols : public AllStatic { 200 class Symbols : public AllStatic {
200 public: 201 public:
201 enum { kMaxOneCharCodeSymbol = 0xFF }; 202 enum { kMaxOneCharCodeSymbol = 0xFF };
202 203
203 // List of strings that are pre created in the vm isolate. 204 // List of strings that are pre created in the vm isolate.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 friend class SnapshotReader; 378 friend class SnapshotReader;
378 friend class SnapshotWriter; 379 friend class SnapshotWriter;
379 friend class ApiMessageReader; 380 friend class ApiMessageReader;
380 381
381 DISALLOW_COPY_AND_ASSIGN(Symbols); 382 DISALLOW_COPY_AND_ASSIGN(Symbols);
382 }; 383 };
383 384
384 } // namespace dart 385 } // namespace dart
385 386
386 #endif // VM_SYMBOLS_H_ 387 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698