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

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

Issue 2408423004: DBC: Fix CheckCids instruction (Closed)
Patch Set: 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_builder.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 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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 V(InstanceOf, A, num, ___, ___) \ 799 V(InstanceOf, A, num, ___, ___) \
800 V(BadTypeError, 0, ___, ___, ___) \ 800 V(BadTypeError, 0, ___, ___, ___) \
801 V(AssertAssignable, A_D, num, lit, ___) \ 801 V(AssertAssignable, A_D, num, lit, ___) \
802 V(AssertBoolean, A, num, ___, ___) \ 802 V(AssertBoolean, A, num, ___, ___) \
803 V(TestSmi, A_D, reg, reg, ___) \ 803 V(TestSmi, A_D, reg, reg, ___) \
804 V(TestCids, A_D, reg, num, ___) \ 804 V(TestCids, A_D, reg, num, ___) \
805 V(CheckSmi, A, reg, ___, ___) \ 805 V(CheckSmi, A, reg, ___, ___) \
806 V(CheckEitherNonSmi, A_D, reg, reg, ___) \ 806 V(CheckEitherNonSmi, A_D, reg, reg, ___) \
807 V(CheckClassId, A_D, reg, num, ___) \ 807 V(CheckClassId, A_D, reg, num, ___) \
808 V(CheckDenseSwitch, A_D, reg, num, ___) \ 808 V(CheckDenseSwitch, A_D, reg, num, ___) \
809 V(CheckCids, A_B_C, reg, num, ___) \ 809 V(CheckCids, A_B_C, reg, num, num) \
810 V(CheckStack, 0, ___, ___, ___) \ 810 V(CheckStack, 0, ___, ___, ___) \
811 V(DebugStep, 0, ___, ___, ___) \ 811 V(DebugStep, 0, ___, ___, ___) \
812 V(DebugBreak, A, num, ___, ___) \ 812 V(DebugBreak, A, num, ___, ___) \
813 V(Deopt, A_D, num, num, ___) \ 813 V(Deopt, A_D, num, num, ___) \
814 814
815 typedef uint32_t Instr; 815 typedef uint32_t Instr;
816 816
817 class Bytecode { 817 class Bytecode {
818 public: 818 public:
819 enum Opcode { 819 enum Opcode {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 948
949 // After a comparison, the condition NEXT_IS_TRUE means the following 949 // After a comparison, the condition NEXT_IS_TRUE means the following
950 // instruction is executed if the comparision is true and skipped over overwise. 950 // instruction is executed if the comparision is true and skipped over overwise.
951 // Conidition NEXT_IS_FALSE means the following instruction is executed if the 951 // Conidition NEXT_IS_FALSE means the following instruction is executed if the
952 // comparison is false and skipped over otherwise. 952 // comparison is false and skipped over otherwise.
953 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; 953 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE };
954 954
955 } // namespace dart 955 } // namespace dart
956 956
957 #endif // VM_CONSTANTS_DBC_H_ 957 #endif // VM_CONSTANTS_DBC_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698