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

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

Issue 2804813003: [turbofan] Collect and use type feedback on ToNumber. (Closed)
Patch Set: Address Michis feedback. Created 3 years, 8 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-generator.cc ('k') | src/interpreter/interpreter-generator.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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 V(TestEqualStrictNoFeedback, AccumulatorUse::kReadWrite, OperandType::kReg) \ 207 V(TestEqualStrictNoFeedback, AccumulatorUse::kReadWrite, OperandType::kReg) \
208 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ 208 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \
209 V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \ 209 V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \
210 V(TestUndetectable, AccumulatorUse::kReadWrite) \ 210 V(TestUndetectable, AccumulatorUse::kReadWrite) \
211 V(TestNull, AccumulatorUse::kReadWrite) \ 211 V(TestNull, AccumulatorUse::kReadWrite) \
212 V(TestUndefined, AccumulatorUse::kReadWrite) \ 212 V(TestUndefined, AccumulatorUse::kReadWrite) \
213 V(TestTypeOf, AccumulatorUse::kReadWrite, OperandType::kFlag8) \ 213 V(TestTypeOf, AccumulatorUse::kReadWrite, OperandType::kFlag8) \
214 \ 214 \
215 /* Cast operators */ \ 215 /* Cast operators */ \
216 V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \ 216 V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \
217 V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut) \ 217 V(ToNumber, AccumulatorUse::kRead, OperandType::kRegOut, OperandType::kIdx) \
218 V(ToObject, AccumulatorUse::kRead, OperandType::kRegOut) \ 218 V(ToObject, AccumulatorUse::kRead, OperandType::kRegOut) \
219 \ 219 \
220 /* Literals */ \ 220 /* Literals */ \
221 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ 221 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \
222 OperandType::kIdx, OperandType::kFlag8) \ 222 OperandType::kIdx, OperandType::kFlag8) \
223 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ 223 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \
224 OperandType::kIdx, OperandType::kFlag8) \ 224 OperandType::kIdx, OperandType::kFlag8) \
225 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \ 225 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \
226 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ 226 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \
227 \ 227 \
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 }; 841 };
842 842
843 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 843 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
844 const Bytecode& bytecode); 844 const Bytecode& bytecode);
845 845
846 } // namespace interpreter 846 } // namespace interpreter
847 } // namespace internal 847 } // namespace internal
848 } // namespace v8 848 } // namespace v8
849 849
850 #endif // V8_INTERPRETER_BYTECODES_H_ 850 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698