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

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

Issue 2755973002: [type profile] Collect return types. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ 98 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \
99 OperandType::kIdx, OperandType::kIdx) \ 99 OperandType::kIdx, OperandType::kIdx) \
100 V(StaNamedOwnProperty, AccumulatorUse::kRead, OperandType::kReg, \ 100 V(StaNamedOwnProperty, AccumulatorUse::kRead, OperandType::kReg, \
101 OperandType::kIdx, OperandType::kIdx) \ 101 OperandType::kIdx, OperandType::kIdx) \
102 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ 102 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \
103 OperandType::kReg, OperandType::kIdx) \ 103 OperandType::kReg, OperandType::kIdx) \
104 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ 104 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \
105 OperandType::kReg, OperandType::kIdx) \ 105 OperandType::kReg, OperandType::kIdx) \
106 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \ 106 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \
107 OperandType::kReg, OperandType::kFlag8, OperandType::kIdx) \ 107 OperandType::kReg, OperandType::kFlag8, OperandType::kIdx) \
108 V(CollectTypeProfile, AccumulatorUse::kRead, OperandType::kReg, \ 108 V(CollectTypeProfile, AccumulatorUse::kRead, OperandType::kImm, \
109 OperandType::kIdx) \ 109 OperandType::kIdx) \
110 \ 110 \
111 /* Binary Operators */ \ 111 /* Binary Operators */ \
112 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 112 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
113 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 113 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
114 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 114 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
115 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 115 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
116 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 116 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
117 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ 117 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \
118 OperandType::kIdx) \ 118 OperandType::kIdx) \
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 }; 853 };
854 854
855 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 855 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
856 const Bytecode& bytecode); 856 const Bytecode& bytecode);
857 857
858 } // namespace interpreter 858 } // namespace interpreter
859 } // namespace internal 859 } // namespace internal
860 } // namespace v8 860 } // namespace v8
861 861
862 #endif // V8_INTERPRETER_BYTECODES_H_ 862 #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