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

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

Issue 579723004: Introduce simplified BooleanToNumber operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #define JS_OP_LIST(V) \ 124 #define JS_OP_LIST(V) \
125 JS_SIMPLE_BINOP_LIST(V) \ 125 JS_SIMPLE_BINOP_LIST(V) \
126 JS_SIMPLE_UNOP_LIST(V) \ 126 JS_SIMPLE_UNOP_LIST(V) \
127 JS_OBJECT_OP_LIST(V) \ 127 JS_OBJECT_OP_LIST(V) \
128 JS_CONTEXT_OP_LIST(V) \ 128 JS_CONTEXT_OP_LIST(V) \
129 JS_OTHER_OP_LIST(V) 129 JS_OTHER_OP_LIST(V)
130 130
131 // Opcodes for VirtuaMachine-level operators. 131 // Opcodes for VirtuaMachine-level operators.
132 #define SIMPLIFIED_OP_LIST(V) \ 132 #define SIMPLIFIED_OP_LIST(V) \
133 V(BooleanNot) \ 133 V(BooleanNot) \
134 V(BooleanToNumber) \
134 V(NumberEqual) \ 135 V(NumberEqual) \
135 V(NumberLessThan) \ 136 V(NumberLessThan) \
136 V(NumberLessThanOrEqual) \ 137 V(NumberLessThanOrEqual) \
137 V(NumberAdd) \ 138 V(NumberAdd) \
138 V(NumberSubtract) \ 139 V(NumberSubtract) \
139 V(NumberMultiply) \ 140 V(NumberMultiply) \
140 V(NumberDivide) \ 141 V(NumberDivide) \
141 V(NumberModulus) \ 142 V(NumberModulus) \
142 V(NumberToInt32) \ 143 V(NumberToInt32) \
143 V(NumberToUint32) \ 144 V(NumberToUint32) \
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 return false; 297 return false;
297 } 298 }
298 } 299 }
299 }; 300 };
300 301
301 } // namespace compiler 302 } // namespace compiler
302 } // namespace internal 303 } // namespace internal
303 } // namespace v8 304 } // namespace v8
304 305
305 #endif // V8_COMPILER_OPCODES_H_ 306 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698