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

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

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 /* Literals */ \ 196 /* Literals */ \
197 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ 197 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \
198 OperandType::kIdx, OperandType::kFlag8) \ 198 OperandType::kIdx, OperandType::kFlag8) \
199 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ 199 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \
200 OperandType::kIdx, OperandType::kFlag8) \ 200 OperandType::kIdx, OperandType::kFlag8) \
201 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \ 201 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \
202 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ 202 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \
203 \ 203 \
204 /* Closure allocation */ \ 204 /* Closure allocation */ \
205 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ 205 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \
206 OperandType::kFlag8) \ 206 OperandType::kIdx, OperandType::kFlag8) \
207 \ 207 \
208 /* Context allocation */ \ 208 /* Context allocation */ \
209 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 209 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \
210 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ 210 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \
211 OperandType::kIdx, OperandType::kIdx) \ 211 OperandType::kIdx, OperandType::kIdx) \
212 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ 212 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \
213 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ 213 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \
214 OperandType::kIdx) \ 214 OperandType::kIdx) \
215 \ 215 \
216 /* Arguments allocation */ \ 216 /* Arguments allocation */ \
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 #undef CONSTEXPR 822 #undef CONSTEXPR
823 823
824 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 824 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
825 const Bytecode& bytecode); 825 const Bytecode& bytecode);
826 826
827 } // namespace interpreter 827 } // namespace interpreter
828 } // namespace internal 828 } // namespace internal
829 } // namespace v8 829 } // namespace v8
830 830
831 #endif // V8_INTERPRETER_BYTECODES_H_ 831 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698