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

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

Issue 2184553003: Revert of [interpreter] Add explicit OSR polling bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-1
Patch Set: 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 /* Complex flow control For..in */ \ 253 /* Complex flow control For..in */ \
254 V(ForInPrepare, AccumulatorUse::kRead, OperandType::kRegOutTriple) \ 254 V(ForInPrepare, AccumulatorUse::kRead, OperandType::kRegOutTriple) \
255 V(ForInDone, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg) \ 255 V(ForInDone, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg) \
256 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ 256 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \
257 OperandType::kRegPair, OperandType::kIdx) \ 257 OperandType::kRegPair, OperandType::kIdx) \
258 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \ 258 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \
259 \ 259 \
260 /* Perform a stack guard check */ \ 260 /* Perform a stack guard check */ \
261 V(StackCheck, AccumulatorUse::kNone) \ 261 V(StackCheck, AccumulatorUse::kNone) \
262 \ 262 \
263 /* Perform a check to trigger on-stack replacement */ \
264 V(OsrPoll, AccumulatorUse::kNone, OperandType::kImm) \
265 \
266 /* Non-local flow control */ \ 263 /* Non-local flow control */ \
267 V(Throw, AccumulatorUse::kRead) \ 264 V(Throw, AccumulatorUse::kRead) \
268 V(ReThrow, AccumulatorUse::kRead) \ 265 V(ReThrow, AccumulatorUse::kRead) \
269 V(Return, AccumulatorUse::kRead) \ 266 V(Return, AccumulatorUse::kRead) \
270 \ 267 \
271 /* Generators */ \ 268 /* Generators */ \
272 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ 269 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \
273 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ 270 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \
274 \ 271 \
275 /* Debugger */ \ 272 /* Debugger */ \
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 567 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
571 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 568 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
572 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 569 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
573 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 570 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
574 571
575 } // namespace interpreter 572 } // namespace interpreter
576 } // namespace internal 573 } // namespace internal
577 } // namespace v8 574 } // namespace v8
578 575
579 #endif // V8_INTERPRETER_BYTECODES_H_ 576 #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