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

Side by Side Diff: src/compiler/opcodes.h

Issue 1491223002: [turbofan] Desugar JSUnaryNot(x) to Select(x, false, true). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo in arm64. Created 5 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/compiler/js-typed-lowering.cc ('k') | src/compiler/typer.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Opcodes for control operators. 10 // Opcodes for control operators.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(JSSubtract) \ 84 V(JSSubtract) \
85 V(JSMultiply) \ 85 V(JSMultiply) \
86 V(JSDivide) \ 86 V(JSDivide) \
87 V(JSModulus) 87 V(JSModulus)
88 88
89 #define JS_SIMPLE_BINOP_LIST(V) \ 89 #define JS_SIMPLE_BINOP_LIST(V) \
90 JS_COMPARE_BINOP_LIST(V) \ 90 JS_COMPARE_BINOP_LIST(V) \
91 JS_BITWISE_BINOP_LIST(V) \ 91 JS_BITWISE_BINOP_LIST(V) \
92 JS_ARITH_BINOP_LIST(V) 92 JS_ARITH_BINOP_LIST(V)
93 93
94 #define JS_LOGIC_UNOP_LIST(V) V(JSUnaryNot)
95
96 #define JS_CONVERSION_UNOP_LIST(V) \ 94 #define JS_CONVERSION_UNOP_LIST(V) \
97 V(JSToBoolean) \ 95 V(JSToBoolean) \
98 V(JSToNumber) \ 96 V(JSToNumber) \
99 V(JSToString) \ 97 V(JSToString) \
100 V(JSToName) \ 98 V(JSToName) \
101 V(JSToObject) 99 V(JSToObject)
102 100
103 #define JS_OTHER_UNOP_LIST(V) \ 101 #define JS_OTHER_UNOP_LIST(V) \
104 V(JSTypeOf) 102 V(JSTypeOf)
105 103
106 #define JS_SIMPLE_UNOP_LIST(V) \ 104 #define JS_SIMPLE_UNOP_LIST(V) \
107 JS_LOGIC_UNOP_LIST(V) \
108 JS_CONVERSION_UNOP_LIST(V) \ 105 JS_CONVERSION_UNOP_LIST(V) \
109 JS_OTHER_UNOP_LIST(V) 106 JS_OTHER_UNOP_LIST(V)
110 107
111 #define JS_OBJECT_OP_LIST(V) \ 108 #define JS_OBJECT_OP_LIST(V) \
112 V(JSCreate) \ 109 V(JSCreate) \
113 V(JSCreateArguments) \ 110 V(JSCreateArguments) \
114 V(JSCreateArray) \ 111 V(JSCreateArray) \
115 V(JSCreateClosure) \ 112 V(JSCreateClosure) \
116 V(JSCreateLiteralArray) \ 113 V(JSCreateLiteralArray) \
117 V(JSCreateLiteralObject) \ 114 V(JSCreateLiteralObject) \
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 } 397 }
401 }; 398 };
402 399
403 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 400 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
404 401
405 } // namespace compiler 402 } // namespace compiler
406 } // namespace internal 403 } // namespace internal
407 } // namespace v8 404 } // namespace v8
408 405
409 #endif // V8_COMPILER_OPCODES_H_ 406 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698