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

Side by Side Diff: src/interpreter/bytecodes.h

Issue 2365223003: Revert of [compiler] Properly guard the speculative optimizations for instanceof. (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 | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/interpreter.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODES_H_ 5 #ifndef V8_INTERPRETER_BYTECODES_H_
6 #define V8_INTERPRETER_BYTECODES_H_ 6 #define V8_INTERPRETER_BYTECODES_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <string> 10 #include <string>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ 170 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \
171 OperandType::kIdx) \ 171 OperandType::kIdx) \
172 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ 172 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \
173 OperandType::kIdx) \ 173 OperandType::kIdx) \
174 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ 174 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg, \
175 OperandType::kIdx) \ 175 OperandType::kIdx) \
176 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ 176 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \
177 OperandType::kIdx) \ 177 OperandType::kIdx) \
178 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ 178 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \
179 OperandType::kIdx) \ 179 OperandType::kIdx) \
180 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg, \ 180 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \
181 OperandType::kIdx) \
182 V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \ 181 V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \
183 \ 182 \
184 /* Cast operators */ \ 183 /* Cast operators */ \
185 V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \ 184 V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \
186 V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut) \ 185 V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut) \
187 V(ToObject, AccumulatorUse::kRead, OperandType::kRegOut) \ 186 V(ToObject, AccumulatorUse::kRead, OperandType::kRegOut) \
188 \ 187 \
189 /* Literals */ \ 188 /* Literals */ \
190 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ 189 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \
191 OperandType::kIdx, OperandType::kFlag8) \ 190 OperandType::kIdx, OperandType::kFlag8) \
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 // See crbug.com/603131. 729 // See crbug.com/603131.
731 #undef CONSTEXPR 730 #undef CONSTEXPR
732 731
733 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 732 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
734 733
735 } // namespace interpreter 734 } // namespace interpreter
736 } // namespace internal 735 } // namespace internal
737 } // namespace v8 736 } // namespace v8
738 737
739 #endif // V8_INTERPRETER_BYTECODES_H_ 738 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698