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

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

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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/bytecode-graph-builder.cc ('k') | src/interpreter/bytecodes.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 /* Register-accumulator transfers */ \ 80 /* Register-accumulator transfers */ \
81 V(Ldar, AccumulatorUse::kWrite, OperandType::kReg) \ 81 V(Ldar, AccumulatorUse::kWrite, OperandType::kReg) \
82 V(Star, AccumulatorUse::kRead, OperandType::kRegOut) \ 82 V(Star, AccumulatorUse::kRead, OperandType::kRegOut) \
83 \ 83 \
84 /* Register-register transfers */ \ 84 /* Register-register transfers */ \
85 V(Mov, AccumulatorUse::kNone, OperandType::kReg, OperandType::kRegOut) \ 85 V(Mov, AccumulatorUse::kNone, OperandType::kReg, OperandType::kRegOut) \
86 \ 86 \
87 /* Property loads (LoadIC) operations */ \ 87 /* Property loads (LoadIC) operations */ \
88 V(LdaNamedProperty, AccumulatorUse::kWrite, OperandType::kReg, \ 88 V(LdaNamedProperty, AccumulatorUse::kWrite, OperandType::kReg, \
89 OperandType::kIdx, OperandType::kIdx) \ 89 OperandType::kIdx, OperandType::kIdx) \
90 V(LdrNamedProperty, AccumulatorUse::kNone, OperandType::kReg, \
91 OperandType::kIdx, OperandType::kIdx, OperandType::kRegOut) \
92 V(LdaKeyedProperty, AccumulatorUse::kReadWrite, OperandType::kReg, \ 90 V(LdaKeyedProperty, AccumulatorUse::kReadWrite, OperandType::kReg, \
93 OperandType::kIdx) \ 91 OperandType::kIdx) \
94 V(LdrKeyedProperty, AccumulatorUse::kRead, OperandType::kReg, \
95 OperandType::kIdx, OperandType::kRegOut) \
96 \ 92 \
97 /* Operations on module variables */ \ 93 /* Operations on module variables */ \
98 V(LdaModuleVariable, AccumulatorUse::kWrite, OperandType::kImm, \ 94 V(LdaModuleVariable, AccumulatorUse::kWrite, OperandType::kImm, \
99 OperandType::kUImm) \ 95 OperandType::kUImm) \
100 V(StaModuleVariable, AccumulatorUse::kRead, OperandType::kImm, \ 96 V(StaModuleVariable, AccumulatorUse::kRead, OperandType::kImm, \
101 OperandType::kUImm) \ 97 OperandType::kUImm) \
102 \ 98 \
103 /* Propery stores (StoreIC) operations */ \ 99 /* Propery stores (StoreIC) operations */ \
104 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ 100 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \
105 OperandType::kIdx, OperandType::kIdx) \ 101 OperandType::kIdx, OperandType::kIdx) \
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 #undef CONSTEXPR 742 #undef CONSTEXPR
747 743
748 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 744 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
749 const Bytecode& bytecode); 745 const Bytecode& bytecode);
750 746
751 } // namespace interpreter 747 } // namespace interpreter
752 } // namespace internal 748 } // namespace internal
753 } // namespace v8 749 } // namespace v8
754 750
755 #endif // V8_INTERPRETER_BYTECODES_H_ 751 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698