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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Changes from review 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
« 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::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(CreateEvalContext, AccumulatorUse::kWrite, OperandType::kUImm) \
213 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ 214 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \
214 OperandType::kIdx) \ 215 OperandType::kIdx) \
215 \ 216 \
216 /* Arguments allocation */ \ 217 /* Arguments allocation */ \
217 V(CreateMappedArguments, AccumulatorUse::kWrite) \ 218 V(CreateMappedArguments, AccumulatorUse::kWrite) \
218 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ 219 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \
219 V(CreateRestParameter, AccumulatorUse::kWrite) \ 220 V(CreateRestParameter, AccumulatorUse::kWrite) \
220 \ 221 \
221 /* Control Flow -- carefully ordered for efficient checks */ \ 222 /* Control Flow -- carefully ordered for efficient checks */ \
222 /* - [Unconditional jumps] */ \ 223 /* - [Unconditional jumps] */ \
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 }; 809 };
809 810
810 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 811 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
811 const Bytecode& bytecode); 812 const Bytecode& bytecode);
812 813
813 } // namespace interpreter 814 } // namespace interpreter
814 } // namespace internal 815 } // namespace internal
815 } // namespace v8 816 } // namespace v8
816 817
817 #endif // V8_INTERPRETER_BYTECODES_H_ 818 #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