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

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

Issue 13190014: Optimizes 'as' operation in similar way as 'instanceof': collect type feedback in unoptimized mode… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/language/type_cast_vm_test.dart » ('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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 V(MegamorphicMiss, "megamorphic_miss") \ 219 V(MegamorphicMiss, "megamorphic_miss") \
220 V(CommaSpace, ", ") \ 220 V(CommaSpace, ", ") \
221 V(ColonSpace, ": ") \ 221 V(ColonSpace, ": ") \
222 V(RParenArrow, ") => ") \ 222 V(RParenArrow, ") => ") \
223 V(SpaceExtendsSpace, " extends ") \ 223 V(SpaceExtendsSpace, " extends ") \
224 V(PatchSpace, "patch ") \ 224 V(PatchSpace, "patch ") \
225 V(SwitchExpr, ":switch_expr") \ 225 V(SwitchExpr, ":switch_expr") \
226 V(TwoNewlines, "\n\n") \ 226 V(TwoNewlines, "\n\n") \
227 V(TwoSpaces, " ") \ 227 V(TwoSpaces, " ") \
228 V(_instanceOf, "_instanceOf") \ 228 V(_instanceOf, "_instanceOf") \
229 V(_as, "_as") \
229 V(PrivateGetterPrefix, "get:_") \ 230 V(PrivateGetterPrefix, "get:_") \
230 V(PrivateSetterPrefix, "set:_") \ 231 V(PrivateSetterPrefix, "set:_") \
231 V(_New, "_new") \ 232 V(_New, "_new") \
232 V(DartScheme, "dart:") \ 233 V(DartScheme, "dart:") \
233 V(DartSchemePrivate, "dart:_") \ 234 V(DartSchemePrivate, "dart:_") \
234 V(DartCore, "dart:core") \ 235 V(DartCore, "dart:core") \
235 V(DartCollection, "dart:collection") \ 236 V(DartCollection, "dart:collection") \
236 V(DartCollectionDev, "dart:_collection-dev") \ 237 V(DartCollectionDev, "dart:_collection-dev") \
237 V(DartMath, "dart:math") \ 238 V(DartMath, "dart:math") \
238 V(DartIsolate, "dart:isolate") \ 239 V(DartIsolate, "dart:isolate") \
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 friend class SnapshotReader; 437 friend class SnapshotReader;
437 friend class SnapshotWriter; 438 friend class SnapshotWriter;
438 friend class ApiMessageReader; 439 friend class ApiMessageReader;
439 440
440 DISALLOW_COPY_AND_ASSIGN(Symbols); 441 DISALLOW_COPY_AND_ASSIGN(Symbols);
441 }; 442 };
442 443
443 } // namespace dart 444 } // namespace dart
444 445
445 #endif // VM_SYMBOLS_H_ 446 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/language/type_cast_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698