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

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

Issue 800833003: [turbofan] Correctify JSToBoolean lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Improve simplified lowering. Created 5 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/pipeline.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 // Opcodes for control operators. 8 // Opcodes for control operators.
9 #define INNER_CONTROL_OP_LIST(V) \ 9 #define INNER_CONTROL_OP_LIST(V) \
10 V(Dead) \ 10 V(Dead) \
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 #define JS_OP_LIST(V) \ 126 #define JS_OP_LIST(V) \
127 JS_SIMPLE_BINOP_LIST(V) \ 127 JS_SIMPLE_BINOP_LIST(V) \
128 JS_SIMPLE_UNOP_LIST(V) \ 128 JS_SIMPLE_UNOP_LIST(V) \
129 JS_OBJECT_OP_LIST(V) \ 129 JS_OBJECT_OP_LIST(V) \
130 JS_CONTEXT_OP_LIST(V) \ 130 JS_CONTEXT_OP_LIST(V) \
131 JS_OTHER_OP_LIST(V) 131 JS_OTHER_OP_LIST(V)
132 132
133 // Opcodes for VirtuaMachine-level operators. 133 // Opcodes for VirtuaMachine-level operators.
134 #define SIMPLIFIED_OP_LIST(V) \ 134 #define SIMPLIFIED_OP_LIST(V) \
135 V(AnyToBoolean) \
135 V(BooleanNot) \ 136 V(BooleanNot) \
136 V(BooleanToNumber) \ 137 V(BooleanToNumber) \
137 V(NumberEqual) \ 138 V(NumberEqual) \
138 V(NumberLessThan) \ 139 V(NumberLessThan) \
139 V(NumberLessThanOrEqual) \ 140 V(NumberLessThanOrEqual) \
140 V(NumberAdd) \ 141 V(NumberAdd) \
141 V(NumberSubtract) \ 142 V(NumberSubtract) \
142 V(NumberMultiply) \ 143 V(NumberMultiply) \
143 V(NumberDivide) \ 144 V(NumberDivide) \
144 V(NumberModulus) \ 145 V(NumberModulus) \
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 return false; 323 return false;
323 } 324 }
324 } 325 }
325 }; 326 };
326 327
327 } // namespace compiler 328 } // namespace compiler
328 } // namespace internal 329 } // namespace internal
329 } // namespace v8 330 } // namespace v8
330 331
331 #endif // V8_COMPILER_OPCODES_H_ 332 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698