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

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

Issue 2302013002: Store the scope info in catch contexts (Closed)
Patch Set: updates Created 4 years, 3 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \ 238 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \
239 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ 239 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \
240 \ 240 \
241 /* Closure allocation */ \ 241 /* Closure allocation */ \
242 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ 242 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \
243 OperandType::kFlag8) \ 243 OperandType::kFlag8) \
244 \ 244 \
245 /* Context allocation */ \ 245 /* Context allocation */ \
246 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 246 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \
247 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ 247 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \
248 OperandType::kIdx) \ 248 OperandType::kIdx, OperandType::kIdx) \
249 /* TODO(klaasb) rename Idx or add unsigned Imm OperandType? */ \ 249 /* TODO(klaasb) rename Idx or add unsigned Imm OperandType? */ \
250 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kIdx) \ 250 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kIdx) \
251 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg) \ 251 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg) \
252 \ 252 \
253 /* Arguments allocation */ \ 253 /* Arguments allocation */ \
254 V(CreateMappedArguments, AccumulatorUse::kWrite) \ 254 V(CreateMappedArguments, AccumulatorUse::kWrite) \
255 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ 255 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \
256 V(CreateRestParameter, AccumulatorUse::kWrite) \ 256 V(CreateRestParameter, AccumulatorUse::kWrite) \
257 \ 257 \
258 /* Control Flow */ \ 258 /* Control Flow */ \
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 595 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
596 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 596 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
597 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 597 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
598 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 598 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
599 599
600 } // namespace interpreter 600 } // namespace interpreter
601 } // namespace internal 601 } // namespace internal
602 } // namespace v8 602 } // namespace v8
603 603
604 #endif // V8_INTERPRETER_BYTECODES_H_ 604 #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