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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: rebase 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 \ 136 \
137 /* Unary Operators */ \ 137 /* Unary Operators */ \
138 V(Inc, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 138 V(Inc, AccumulatorUse::kReadWrite, OperandType::kIdx) \
139 V(Dec, AccumulatorUse::kReadWrite, OperandType::kIdx) \ 139 V(Dec, AccumulatorUse::kReadWrite, OperandType::kIdx) \
140 V(ToBooleanLogicalNot, AccumulatorUse::kReadWrite) \ 140 V(ToBooleanLogicalNot, AccumulatorUse::kReadWrite) \
141 V(LogicalNot, AccumulatorUse::kReadWrite) \ 141 V(LogicalNot, AccumulatorUse::kReadWrite) \
142 V(TypeOf, AccumulatorUse::kReadWrite) \ 142 V(TypeOf, AccumulatorUse::kReadWrite) \
143 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ 143 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \
144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ 144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \
145 \ 145 \
146 /* GetSuperConstructor operator */ \
147 V(GetSuperConstructor, AccumulatorUse::kRead, OperandType::kRegOut) \
148 \
146 /* Call operations */ \ 149 /* Call operations */ \
147 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \ 150 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \
148 OperandType::kRegCount, OperandType::kIdx) \ 151 OperandType::kRegCount, OperandType::kIdx) \
149 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ 152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \
150 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ 153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \
151 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ 154 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \
152 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ 155 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \
153 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ 156 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \
154 OperandType::kRegList, OperandType::kRegCount) \ 157 OperandType::kRegList, OperandType::kRegCount) \
155 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ 158 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 }; 815 };
813 816
814 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 817 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
815 const Bytecode& bytecode); 818 const Bytecode& bytecode);
816 819
817 } // namespace interpreter 820 } // namespace interpreter
818 } // namespace internal 821 } // namespace internal
819 } // namespace v8 822 } // namespace v8
820 823
821 #endif // V8_INTERPRETER_BYTECODES_H_ 824 #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