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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: rebase and git cl format 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
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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 }; 811 };
809 812
810 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 813 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
811 const Bytecode& bytecode); 814 const Bytecode& bytecode);
812 815
813 } // namespace interpreter 816 } // namespace interpreter
814 } // namespace internal 817 } // namespace internal
815 } // namespace v8 818 } // namespace v8
816 819
817 #endif // V8_INTERPRETER_BYTECODES_H_ 820 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698