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

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

Issue 2255793002: [interpreter] Add CreateWithContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add to AllBytecodesGenerated Created 4 years, 4 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ 230 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \
231 \ 231 \
232 /* Closure allocation */ \ 232 /* Closure allocation */ \
233 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ 233 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \
234 OperandType::kFlag8) \ 234 OperandType::kFlag8) \
235 \ 235 \
236 /* Context allocation */ \ 236 /* Context allocation */ \
237 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 237 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \
238 /* TODO(klaasb) rename Idx or add unsigned Imm OperandType? */ \ 238 /* TODO(klaasb) rename Idx or add unsigned Imm OperandType? */ \
239 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kIdx) \ 239 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kIdx) \
240 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg) \
240 \ 241 \
241 /* Arguments allocation */ \ 242 /* Arguments allocation */ \
242 V(CreateMappedArguments, AccumulatorUse::kWrite) \ 243 V(CreateMappedArguments, AccumulatorUse::kWrite) \
243 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ 244 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \
244 V(CreateRestParameter, AccumulatorUse::kWrite) \ 245 V(CreateRestParameter, AccumulatorUse::kWrite) \
245 \ 246 \
246 /* Control Flow */ \ 247 /* Control Flow */ \
247 V(Jump, AccumulatorUse::kNone, OperandType::kImm) \ 248 V(Jump, AccumulatorUse::kNone, OperandType::kImm) \
248 V(JumpConstant, AccumulatorUse::kNone, OperandType::kIdx) \ 249 V(JumpConstant, AccumulatorUse::kNone, OperandType::kIdx) \
249 V(JumpIfTrue, AccumulatorUse::kRead, OperandType::kImm) \ 250 V(JumpIfTrue, AccumulatorUse::kRead, OperandType::kImm) \
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 583 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
583 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 584 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
584 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 585 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
585 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 586 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
586 587
587 } // namespace interpreter 588 } // namespace interpreter
588 } // namespace internal 589 } // namespace internal
589 } // namespace v8 590 } // namespace v8
590 591
591 #endif // V8_INTERPRETER_BYTECODES_H_ 592 #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