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

Side by Side Diff: src/compiler/instruction-codes.h

Issue 1721103003: [turbofan] Introduce DeoptimizeIf And DeoptimizeUnless common operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments Created 4 years, 10 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 | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ 6 #define V8_COMPILER_INSTRUCTION_CODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #if V8_TARGET_ARCH_ARM 10 #if V8_TARGET_ARCH_ARM
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ADDRESSING_MODE_LIST(DECLARE_ADDRESSING_MODE) 103 ADDRESSING_MODE_LIST(DECLARE_ADDRESSING_MODE)
104 #undef DECLARE_ADDRESSING_MODE 104 #undef DECLARE_ADDRESSING_MODE
105 #define COUNT_ADDRESSING_MODE(Name) +1 105 #define COUNT_ADDRESSING_MODE(Name) +1
106 kLastAddressingMode = -1 ADDRESSING_MODE_LIST(COUNT_ADDRESSING_MODE) 106 kLastAddressingMode = -1 ADDRESSING_MODE_LIST(COUNT_ADDRESSING_MODE)
107 #undef COUNT_ADDRESSING_MODE 107 #undef COUNT_ADDRESSING_MODE
108 }; 108 };
109 109
110 std::ostream& operator<<(std::ostream& os, const AddressingMode& am); 110 std::ostream& operator<<(std::ostream& os, const AddressingMode& am);
111 111
112 // The mode of the flags continuation (see below). 112 // The mode of the flags continuation (see below).
113 enum FlagsMode { kFlags_none = 0, kFlags_branch = 1, kFlags_set = 2 }; 113 enum FlagsMode {
114 kFlags_none = 0,
115 kFlags_branch = 1,
116 kFlags_deoptimize = 2,
117 kFlags_set = 3
118 };
114 119
115 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm); 120 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm);
116 121
117 // The condition of flags continuation (see below). 122 // The condition of flags continuation (see below).
118 enum FlagsCondition { 123 enum FlagsCondition {
119 kEqual, 124 kEqual,
120 kNotEqual, 125 kNotEqual,
121 kSignedLessThan, 126 kSignedLessThan,
122 kSignedGreaterThanOrEqual, 127 kSignedGreaterThanOrEqual,
123 kSignedLessThanOrEqual, 128 kSignedLessThanOrEqual,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 typedef BitField<AddressingMode, 8, 5> AddressingModeField; 167 typedef BitField<AddressingMode, 8, 5> AddressingModeField;
163 typedef BitField<FlagsMode, 13, 2> FlagsModeField; 168 typedef BitField<FlagsMode, 13, 2> FlagsModeField;
164 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; 169 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField;
165 typedef BitField<int, 20, 12> MiscField; 170 typedef BitField<int, 20, 12> MiscField;
166 171
167 } // namespace compiler 172 } // namespace compiler
168 } // namespace internal 173 } // namespace internal
169 } // namespace v8 174 } // namespace v8
170 175
171 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 176 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698