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

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

Issue 1985033002: [Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 7 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-peephole-optimizer.cc ('k') | src/interpreter/bytecodes.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 <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg) \ 143 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg) \
144 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg) \ 144 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg) \
145 V(BitwiseAnd, AccumulatorUse::kReadWrite, OperandType::kReg) \ 145 V(BitwiseAnd, AccumulatorUse::kReadWrite, OperandType::kReg) \
146 V(ShiftLeft, AccumulatorUse::kReadWrite, OperandType::kReg) \ 146 V(ShiftLeft, AccumulatorUse::kReadWrite, OperandType::kReg) \
147 V(ShiftRight, AccumulatorUse::kReadWrite, OperandType::kReg) \ 147 V(ShiftRight, AccumulatorUse::kReadWrite, OperandType::kReg) \
148 V(ShiftRightLogical, AccumulatorUse::kReadWrite, OperandType::kReg) \ 148 V(ShiftRightLogical, AccumulatorUse::kReadWrite, OperandType::kReg) \
149 \ 149 \
150 /* Unary Operators */ \ 150 /* Unary Operators */ \
151 V(Inc, AccumulatorUse::kReadWrite) \ 151 V(Inc, AccumulatorUse::kReadWrite) \
152 V(Dec, AccumulatorUse::kReadWrite) \ 152 V(Dec, AccumulatorUse::kReadWrite) \
153 V(ToBooleanLogicalNot, AccumulatorUse::kReadWrite) \
153 V(LogicalNot, AccumulatorUse::kReadWrite) \ 154 V(LogicalNot, AccumulatorUse::kReadWrite) \
154 V(TypeOf, AccumulatorUse::kReadWrite) \ 155 V(TypeOf, AccumulatorUse::kReadWrite) \
155 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ 156 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \
156 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ 157 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \
157 \ 158 \
158 /* Call operations */ \ 159 /* Call operations */ \
159 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ 160 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \
160 OperandType::kRegCount, OperandType::kIdx) \ 161 OperandType::kRegCount, OperandType::kIdx) \
161 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ 162 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \
162 OperandType::kRegCount, OperandType::kIdx) \ 163 OperandType::kRegCount, OperandType::kIdx) \
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); 642 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use);
642 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 643 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
643 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 644 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
644 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 645 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
645 646
646 } // namespace interpreter 647 } // namespace interpreter
647 } // namespace internal 648 } // namespace internal
648 } // namespace v8 649 } // namespace v8
649 650
650 #endif // V8_INTERPRETER_BYTECODES_H_ 651 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-peephole-optimizer.cc ('k') | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698