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

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

Issue 2388093003: VM: Make optimized try-catch work in DBC. (Closed)
Patch Set: new test file Created 4 years, 2 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 | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | runtime/vm/flow_graph_allocator.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_CONSTANTS_DBC_H_ 5 #ifndef VM_CONSTANTS_DBC_H_
6 #define VM_CONSTANTS_DBC_H_ 6 #define VM_CONSTANTS_DBC_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 V(IfDEq, A_D, reg, reg, ___) \ 722 V(IfDEq, A_D, reg, reg, ___) \
723 V(IfDLe, A_D, reg, reg, ___) \ 723 V(IfDLe, A_D, reg, reg, ___) \
724 V(IfDLt, A_D, reg, reg, ___) \ 724 V(IfDLt, A_D, reg, reg, ___) \
725 V(IfDGe, A_D, reg, reg, ___) \ 725 V(IfDGe, A_D, reg, reg, ___) \
726 V(IfDGt, A_D, reg, reg, ___) \ 726 V(IfDGt, A_D, reg, reg, ___) \
727 V(IfNeStrictNum, A_D, reg, reg, ___) \ 727 V(IfNeStrictNum, A_D, reg, reg, ___) \
728 V(IfEqStrictNum, A_D, reg, reg, ___) \ 728 V(IfEqStrictNum, A_D, reg, reg, ___) \
729 V(IfEqNull, A, reg, ___, ___) \ 729 V(IfEqNull, A, reg, ___, ___) \
730 V(IfNeNull, A, reg, ___, ___) \ 730 V(IfNeNull, A, reg, ___, ___) \
731 V(CreateArrayTOS, 0, ___, ___, ___) \ 731 V(CreateArrayTOS, 0, ___, ___, ___) \
732 V(CreateArrayOpt, A_B_C, reg, reg, ___) \ 732 V(CreateArrayOpt, A_B_C, reg, reg, reg) \
733 V(Allocate, D, lit, ___, ___) \ 733 V(Allocate, D, lit, ___, ___) \
734 V(AllocateT, 0, ___, ___, ___) \ 734 V(AllocateT, 0, ___, ___, ___) \
735 V(AllocateOpt, A_D, reg, lit, ___) \ 735 V(AllocateOpt, A_D, reg, lit, ___) \
736 V(AllocateTOpt, A_D, reg, lit, ___) \ 736 V(AllocateTOpt, A_D, reg, lit, ___) \
737 V(StoreIndexedTOS, 0, ___, ___, ___) \ 737 V(StoreIndexedTOS, 0, ___, ___, ___) \
738 V(StoreIndexed, A_B_C, reg, reg, reg) \ 738 V(StoreIndexed, A_B_C, reg, reg, reg) \
739 V(StoreIndexedUint8, A_B_C, reg, reg, reg) \ 739 V(StoreIndexedUint8, A_B_C, reg, reg, reg) \
740 V(StoreIndexedExternalUint8, A_B_C, reg, reg, reg) \ 740 V(StoreIndexedExternalUint8, A_B_C, reg, reg, reg) \
741 V(StoreIndexedOneByteString, A_B_C, reg, reg, reg) \ 741 V(StoreIndexedOneByteString, A_B_C, reg, reg, reg) \
742 V(StoreIndexedUint32, A_B_C, reg, reg, reg) \ 742 V(StoreIndexedUint32, A_B_C, reg, reg, reg) \
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 927
928 // After a comparison, the condition NEXT_IS_TRUE means the following 928 // After a comparison, the condition NEXT_IS_TRUE means the following
929 // instruction is executed if the comparision is true and skipped over overwise. 929 // instruction is executed if the comparision is true and skipped over overwise.
930 // Conidition NEXT_IS_FALSE means the following instruction is executed if the 930 // Conidition NEXT_IS_FALSE means the following instruction is executed if the
931 // comparison is false and skipped over otherwise. 931 // comparison is false and skipped over otherwise.
932 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; 932 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE };
933 933
934 } // namespace dart 934 } // namespace dart
935 935
936 #endif // VM_CONSTANTS_DBC_H_ 936 #endif // VM_CONSTANTS_DBC_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | runtime/vm/flow_graph_allocator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698