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

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

Issue 953563002: Implement experimental exponentiation operator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use Number() instead of OrderedNumber() to include NaN Created 5 years, 10 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-operator.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 // 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 V(JSBitwiseAnd) \ 74 V(JSBitwiseAnd) \
75 V(JSShiftLeft) \ 75 V(JSShiftLeft) \
76 V(JSShiftRight) \ 76 V(JSShiftRight) \
77 V(JSShiftRightLogical) 77 V(JSShiftRightLogical)
78 78
79 #define JS_ARITH_BINOP_LIST(V) \ 79 #define JS_ARITH_BINOP_LIST(V) \
80 V(JSAdd) \ 80 V(JSAdd) \
81 V(JSSubtract) \ 81 V(JSSubtract) \
82 V(JSMultiply) \ 82 V(JSMultiply) \
83 V(JSDivide) \ 83 V(JSDivide) \
84 V(JSModulus) 84 V(JSModulus) \
85 V(JSExponentiate)
85 86
86 #define JS_SIMPLE_BINOP_LIST(V) \ 87 #define JS_SIMPLE_BINOP_LIST(V) \
87 JS_COMPARE_BINOP_LIST(V) \ 88 JS_COMPARE_BINOP_LIST(V) \
88 JS_BITWISE_BINOP_LIST(V) \ 89 JS_BITWISE_BINOP_LIST(V) \
89 JS_ARITH_BINOP_LIST(V) 90 JS_ARITH_BINOP_LIST(V)
90 91
91 #define JS_LOGIC_UNOP_LIST(V) V(JSUnaryNot) 92 #define JS_LOGIC_UNOP_LIST(V) V(JSUnaryNot)
92 93
93 #define JS_CONVERSION_UNOP_LIST(V) \ 94 #define JS_CONVERSION_UNOP_LIST(V) \
94 V(JSToBoolean) \ 95 V(JSToBoolean) \
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || 322 (kNumberEqual <= value && value <= kStringLessThanOrEqual) ||
322 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); 323 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual);
323 } 324 }
324 }; 325 };
325 326
326 } // namespace compiler 327 } // namespace compiler
327 } // namespace internal 328 } // namespace internal
328 } // namespace v8 329 } // namespace v8
329 330
330 #endif // V8_COMPILER_OPCODES_H_ 331 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698