OLD | NEW |
---|---|
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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
814 V(AssertAssignable, A_D, num, lit, ___) \ | 814 V(AssertAssignable, A_D, num, lit, ___) \ |
815 V(AssertBoolean, A, num, ___, ___) \ | 815 V(AssertBoolean, A, num, ___, ___) \ |
816 V(TestSmi, A_D, reg, reg, ___) \ | 816 V(TestSmi, A_D, reg, reg, ___) \ |
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, ___, ___, ___) \ | |
zra
2016/12/12 22:07:37
Maybe CheckStackAlwaysCall?
Please add docs in th
| |
824 V(DebugStep, 0, ___, ___, ___) \ | 825 V(DebugStep, 0, ___, ___, ___) \ |
825 V(DebugBreak, A, num, ___, ___) \ | 826 V(DebugBreak, A, num, ___, ___) \ |
826 V(Deopt, A_D, num, num, ___) | 827 V(Deopt, A_D, num, num, ___) |
827 | 828 |
828 // clang-format on | 829 // clang-format on |
829 | 830 |
830 typedef uint32_t Instr; | 831 typedef uint32_t Instr; |
831 | 832 |
832 class Bytecode { | 833 class Bytecode { |
833 public: | 834 public: |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
961 | 962 |
962 // After a comparison, the condition NEXT_IS_TRUE means the following | 963 // After a comparison, the condition NEXT_IS_TRUE means the following |
963 // instruction is executed if the comparision is true and skipped over overwise. | 964 // instruction is executed if the comparision is true and skipped over overwise. |
964 // Conidition NEXT_IS_FALSE means the following instruction is executed if the | 965 // Conidition NEXT_IS_FALSE means the following instruction is executed if the |
965 // comparison is false and skipped over otherwise. | 966 // comparison is false and skipped over otherwise. |
966 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; | 967 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; |
967 | 968 |
968 } // namespace dart | 969 } // namespace dart |
969 | 970 |
970 #endif // RUNTIME_VM_CONSTANTS_DBC_H_ | 971 #endif // RUNTIME_VM_CONSTANTS_DBC_H_ |
OLD | NEW |