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

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

Issue 2636443004: Make rewind work on DBC (Closed)
Patch Set: Code Review Created 3 years, 9 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/tests/vm/vm.status ('k') | runtime/vm/intermediate_language.cc » ('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) 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 RUNTIME_VM_CONSTANTS_DBC_H_ 5 #ifndef RUNTIME_VM_CONSTANTS_DBC_H_
6 #define RUNTIME_VM_CONSTANTS_DBC_H_ 6 #define RUNTIME_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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 V(TestCids, A_D, reg, num, ___) \ 817 V(TestCids, A_D, reg, num, ___) \
818 V(CheckSmi, A, reg, ___, ___) \ 818 V(CheckSmi, A, reg, ___, ___) \
819 V(CheckEitherNonSmi, A_D, reg, reg, ___) \ 819 V(CheckEitherNonSmi, A_D, reg, reg, ___) \
820 V(CheckClassId, A_D, reg, num, ___) \ 820 V(CheckClassId, A_D, reg, num, ___) \
821 V(CheckDenseSwitch, A_D, reg, num, ___) \ 821 V(CheckDenseSwitch, A_D, reg, num, ___) \
822 V(CheckCids, A_B_C, reg, num, num) \ 822 V(CheckCids, A_B_C, reg, num, num) \
823 V(CheckStack, 0, ___, ___, ___) \ 823 V(CheckStack, 0, ___, ___, ___) \
824 V(CheckStackAlwaysExit, 0, ___, ___, ___) \ 824 V(CheckStackAlwaysExit, 0, ___, ___, ___) \
825 V(DebugStep, 0, ___, ___, ___) \ 825 V(DebugStep, 0, ___, ___, ___) \
826 V(DebugBreak, A, num, ___, ___) \ 826 V(DebugBreak, A, num, ___, ___) \
827 V(Deopt, A_D, num, num, ___) 827 V(Deopt, A_D, num, num, ___) \
828 V(DeoptRewind, 0, ___, ___, ___)
828 829
829 // clang-format on 830 // clang-format on
830 831
831 typedef uint32_t Instr; 832 typedef uint32_t Instr;
832 833
833 class Bytecode { 834 class Bytecode {
834 public: 835 public:
835 enum Opcode { 836 enum Opcode {
836 #define DECLARE_BYTECODE(name, encoding, op1, op2, op3) k##name, 837 #define DECLARE_BYTECODE(name, encoding, op1, op2, op3) k##name,
837 BYTECODES_LIST(DECLARE_BYTECODE) 838 BYTECODES_LIST(DECLARE_BYTECODE)
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 963
963 // After a comparison, the condition NEXT_IS_TRUE means the following 964 // After a comparison, the condition NEXT_IS_TRUE means the following
964 // instruction is executed if the comparision is true and skipped over overwise. 965 // instruction is executed if the comparision is true and skipped over overwise.
965 // Conidition NEXT_IS_FALSE means the following instruction is executed if the 966 // Conidition NEXT_IS_FALSE means the following instruction is executed if the
966 // comparison is false and skipped over otherwise. 967 // comparison is false and skipped over otherwise.
967 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; 968 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE };
968 969
969 } // namespace dart 970 } // namespace dart
970 971
971 #endif // RUNTIME_VM_CONSTANTS_DBC_H_ 972 #endif // RUNTIME_VM_CONSTANTS_DBC_H_
OLDNEW
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698