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

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

Issue 2587393006: [runtime] Collect IC feedback in DefineDataPropertyInLiteral. (Closed)
Patch Set: Rebase. Created 3 years, 11 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.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 \ 91 \
92 /* Propery stores (StoreIC) operations */ \ 92 /* Propery stores (StoreIC) operations */ \
93 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ 93 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \
94 OperandType::kIdx, OperandType::kIdx) \ 94 OperandType::kIdx, OperandType::kIdx) \
95 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ 95 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \
96 OperandType::kIdx, OperandType::kIdx) \ 96 OperandType::kIdx, OperandType::kIdx) \
97 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ 97 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \
98 OperandType::kReg, OperandType::kIdx) \ 98 OperandType::kReg, OperandType::kIdx) \
99 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ 99 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \
100 OperandType::kReg, OperandType::kIdx) \ 100 OperandType::kReg, OperandType::kIdx) \
101 V(StaDataPropertyInLiteral, AccumulatorUse::kNone, OperandType::kReg, \ 101 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \
102 OperandType::kReg, OperandType::kReg, OperandType::kFlag8) \ 102 OperandType::kReg, OperandType::kFlag8, OperandType::kIdx) \
103 \ 103 \
104 /* Binary Operators */ \ 104 /* Binary Operators */ \
105 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 105 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
106 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 106 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
107 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 107 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
108 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 108 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
109 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ 109 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \
110 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ 110 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \
111 OperandType::kIdx) \ 111 OperandType::kIdx) \
112 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \ 112 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 }; 816 };
817 817
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
819 const Bytecode& bytecode); 819 const Bytecode& bytecode);
820 820
821 } // namespace interpreter 821 } // namespace interpreter
822 } // namespace internal 822 } // namespace internal
823 } // namespace v8 823 } // namespace v8
824 824
825 #endif // V8_INTERPRETER_BYTECODES_H_ 825 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698