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

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

Issue 2147123002: Made simple instance-of checks fast for unoptimized code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed compile_time_constants_ from object_store. Created 4 years, 5 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
« no previous file with comments | « 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/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 V(SpaceWhereNewLine, " where\n") \ 304 V(SpaceWhereNewLine, " where\n") \
305 V(SpaceIsFromSpace, " is from ") \ 305 V(SpaceIsFromSpace, " is from ") \
306 V(InTypeCast, " in type cast") \ 306 V(InTypeCast, " in type cast") \
307 V(TypeQuote, "type '") \ 307 V(TypeQuote, "type '") \
308 V(QuoteIsNotASubtypeOf, "' is not a subtype of ") \ 308 V(QuoteIsNotASubtypeOf, "' is not a subtype of ") \
309 V(SpaceOfSpace, " of ") \ 309 V(SpaceOfSpace, " of ") \
310 V(SwitchExpr, ":switch_expr") \ 310 V(SwitchExpr, ":switch_expr") \
311 V(TwoNewlines, "\n\n") \ 311 V(TwoNewlines, "\n\n") \
312 V(TwoSpaces, " ") \ 312 V(TwoSpaces, " ") \
313 V(_instanceOf, "_instanceOf") \ 313 V(_instanceOf, "_instanceOf") \
314 V(_simpleInstanceOf, "_simpleInstanceOf") \
315 V(_simpleInstanceOfTrue, "_simpleInstanceOfTrue") \
316 V(_simpleInstanceOfFalse, "_simpleInstanceOfFalse") \
314 V(_instanceOfSmi, "_instanceOfSmi") \ 317 V(_instanceOfSmi, "_instanceOfSmi") \
315 V(_instanceOfNum, "_instanceOfNum") \ 318 V(_instanceOfNum, "_instanceOfNum") \
316 V(_instanceOfInt, "_instanceOfInt") \ 319 V(_instanceOfInt, "_instanceOfInt") \
317 V(_instanceOfDouble, "_instanceOfDouble") \ 320 V(_instanceOfDouble, "_instanceOfDouble") \
318 V(_instanceOfString, "_instanceOfString") \ 321 V(_instanceOfString, "_instanceOfString") \
319 V(_as, "_as") \ 322 V(_as, "_as") \
320 V(GetterPrefix, "get:") \ 323 V(GetterPrefix, "get:") \
321 V(ClosurizePrefix, "get:#") \ 324 V(ClosurizePrefix, "get:#") \
322 V(SetterPrefix, "set:") \ 325 V(SetterPrefix, "set:") \
323 V(InitPrefix, "init:") \ 326 V(InitPrefix, "init:") \
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 friend class Serializer; 682 friend class Serializer;
680 friend class Deserializer; 683 friend class Deserializer;
681 friend class ApiMessageReader; 684 friend class ApiMessageReader;
682 685
683 DISALLOW_COPY_AND_ASSIGN(Symbols); 686 DISALLOW_COPY_AND_ASSIGN(Symbols);
684 }; 687 };
685 688
686 } // namespace dart 689 } // namespace dart
687 690
688 #endif // VM_SYMBOLS_H_ 691 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698