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

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

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Fix documentation nits 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 V(LdaGlobalInsideTypeof, AccumulatorUse::kWrite, OperandType::kIdx) \ 99 V(LdaGlobalInsideTypeof, AccumulatorUse::kWrite, OperandType::kIdx) \
100 V(StaGlobalSloppy, AccumulatorUse::kRead, OperandType::kIdx, \ 100 V(StaGlobalSloppy, AccumulatorUse::kRead, OperandType::kIdx, \
101 OperandType::kIdx) \ 101 OperandType::kIdx) \
102 V(StaGlobalStrict, AccumulatorUse::kRead, OperandType::kIdx, \ 102 V(StaGlobalStrict, AccumulatorUse::kRead, OperandType::kIdx, \
103 OperandType::kIdx) \ 103 OperandType::kIdx) \
104 \ 104 \
105 /* Context operations */ \ 105 /* Context operations */ \
106 V(PushContext, AccumulatorUse::kRead, OperandType::kRegOut) \ 106 V(PushContext, AccumulatorUse::kRead, OperandType::kRegOut) \
107 V(PopContext, AccumulatorUse::kNone, OperandType::kReg) \ 107 V(PopContext, AccumulatorUse::kNone, OperandType::kReg) \
108 V(LdaContextSlot, AccumulatorUse::kWrite, OperandType::kReg, \ 108 V(LdaContextSlot, AccumulatorUse::kWrite, OperandType::kReg, \
109 OperandType::kIdx) \ 109 OperandType::kIdx, OperandType::kIdx) \
110 V(LdrContextSlot, AccumulatorUse::kNone, OperandType::kReg, \ 110 V(LdrContextSlot, AccumulatorUse::kNone, OperandType::kReg, \
111 OperandType::kIdx, OperandType::kRegOut) \ 111 OperandType::kIdx, OperandType::kIdx, OperandType::kRegOut) \
112 V(StaContextSlot, AccumulatorUse::kRead, OperandType::kReg, \ 112 V(StaContextSlot, AccumulatorUse::kRead, OperandType::kReg, \
113 OperandType::kIdx) \ 113 OperandType::kIdx, OperandType::kIdx) \
114 \ 114 \
115 /* Load-Store lookup slots */ \ 115 /* Load-Store lookup slots */ \
116 V(LdaLookupSlot, AccumulatorUse::kWrite, OperandType::kIdx) \ 116 V(LdaLookupSlot, AccumulatorUse::kWrite, OperandType::kIdx) \
117 V(LdaLookupSlotInsideTypeof, AccumulatorUse::kWrite, OperandType::kIdx) \ 117 V(LdaLookupSlotInsideTypeof, AccumulatorUse::kWrite, OperandType::kIdx) \
118 V(StaLookupSlotSloppy, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 118 V(StaLookupSlotSloppy, AccumulatorUse::kReadWrite, OperandType::kIdx) \
119 V(StaLookupSlotStrict, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 119 V(StaLookupSlotStrict, AccumulatorUse::kReadWrite, OperandType::kIdx) \
120 \ 120 \
121 /* Register-accumulator transfers */ \ 121 /* Register-accumulator transfers */ \
122 V(Ldar, AccumulatorUse::kWrite, OperandType::kReg) \ 122 V(Ldar, AccumulatorUse::kWrite, OperandType::kReg) \
123 V(Star, AccumulatorUse::kRead, OperandType::kRegOut) \ 123 V(Star, AccumulatorUse::kRead, OperandType::kRegOut) \
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 596 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
597 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 597 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
598 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 598 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
599 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 599 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
600 600
601 } // namespace interpreter 601 } // namespace interpreter
602 } // namespace internal 602 } // namespace internal
603 } // namespace v8 603 } // namespace v8
604 604
605 #endif // V8_INTERPRETER_BYTECODES_H_ 605 #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