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

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

Issue 2629363002: [Ignition/turbo] Add a CallWithSpread bytecode. (Closed)
Patch Set: refactor OnlyLastArgIsSpread Created 3 years, 11 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
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ 152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \
153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ 153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \
154 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ 154 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \
155 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ 155 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \
156 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ 156 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \
157 OperandType::kRegList, OperandType::kRegCount) \ 157 OperandType::kRegList, OperandType::kRegCount) \
158 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ 158 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \
159 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \ 159 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \
160 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ 160 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \
161 OperandType::kRegList, OperandType::kRegCount) \ 161 OperandType::kRegList, OperandType::kRegCount) \
162 V(CallWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \
163 OperandType::kRegCount) \
rmcilroy 2017/01/16 10:29:40 nit - move up below CallProperty
petermarshall 2017/01/16 15:01:10 Done.
162 \ 164 \
163 /* Intrinsics */ \ 165 /* Intrinsics */ \
164 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ 166 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \
165 OperandType::kRegList, OperandType::kRegCount) \ 167 OperandType::kRegList, OperandType::kRegCount) \
166 \ 168 \
167 /* New operators */ \ 169 /* New operators */ \
168 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kRegList, \ 170 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kRegList, \
169 OperandType::kRegCount, OperandType::kIdx) \ 171 OperandType::kRegCount, OperandType::kIdx) \
170 V(NewWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \ 172 V(NewWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \
171 OperandType::kRegCount) \ 173 OperandType::kRegCount) \
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 }; 818 };
817 819
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 820 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
819 const Bytecode& bytecode); 821 const Bytecode& bytecode);
820 822
821 } // namespace interpreter 823 } // namespace interpreter
822 } // namespace internal 824 } // namespace internal
823 } // namespace v8 825 } // namespace v8
824 826
825 #endif // V8_INTERPRETER_BYTECODES_H_ 827 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698