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

Side by Side Diff: src/compiler/simplified-operator.cc

Issue 2096403002: [turbofan] Introduce simplified operator NumberAbs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: This time fix the compile error for realz Created 4 years, 5 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/simplified-operator.h ('k') | src/compiler/simplified-operator-reducer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include "src/compiler/simplified-operator.h" 5 #include "src/compiler/simplified-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 V(NumberMultiply, Operator::kCommutative, 2) \ 244 V(NumberMultiply, Operator::kCommutative, 2) \
245 V(NumberDivide, Operator::kNoProperties, 2) \ 245 V(NumberDivide, Operator::kNoProperties, 2) \
246 V(NumberModulus, Operator::kNoProperties, 2) \ 246 V(NumberModulus, Operator::kNoProperties, 2) \
247 V(NumberBitwiseOr, Operator::kCommutative, 2) \ 247 V(NumberBitwiseOr, Operator::kCommutative, 2) \
248 V(NumberBitwiseXor, Operator::kCommutative, 2) \ 248 V(NumberBitwiseXor, Operator::kCommutative, 2) \
249 V(NumberBitwiseAnd, Operator::kCommutative, 2) \ 249 V(NumberBitwiseAnd, Operator::kCommutative, 2) \
250 V(NumberShiftLeft, Operator::kNoProperties, 2) \ 250 V(NumberShiftLeft, Operator::kNoProperties, 2) \
251 V(NumberShiftRight, Operator::kNoProperties, 2) \ 251 V(NumberShiftRight, Operator::kNoProperties, 2) \
252 V(NumberShiftRightLogical, Operator::kNoProperties, 2) \ 252 V(NumberShiftRightLogical, Operator::kNoProperties, 2) \
253 V(NumberImul, Operator::kCommutative, 2) \ 253 V(NumberImul, Operator::kCommutative, 2) \
254 V(NumberAbs, Operator::kNoProperties, 1) \
254 V(NumberClz32, Operator::kNoProperties, 1) \ 255 V(NumberClz32, Operator::kNoProperties, 1) \
255 V(NumberCeil, Operator::kNoProperties, 1) \ 256 V(NumberCeil, Operator::kNoProperties, 1) \
256 V(NumberFloor, Operator::kNoProperties, 1) \ 257 V(NumberFloor, Operator::kNoProperties, 1) \
257 V(NumberFround, Operator::kNoProperties, 1) \ 258 V(NumberFround, Operator::kNoProperties, 1) \
258 V(NumberAtan, Operator::kNoProperties, 1) \ 259 V(NumberAtan, Operator::kNoProperties, 1) \
259 V(NumberAtan2, Operator::kNoProperties, 2) \ 260 V(NumberAtan2, Operator::kNoProperties, 2) \
260 V(NumberAtanh, Operator::kNoProperties, 1) \ 261 V(NumberAtanh, Operator::kNoProperties, 1) \
261 V(NumberCbrt, Operator::kNoProperties, 1) \ 262 V(NumberCbrt, Operator::kNoProperties, 1) \
262 V(NumberCos, Operator::kNoProperties, 1) \ 263 V(NumberCos, Operator::kNoProperties, 1) \
263 V(NumberExp, Operator::kNoProperties, 1) \ 264 V(NumberExp, Operator::kNoProperties, 1) \
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 Operator::kNoDeopt | Operator::kNoThrow | properties, \ 559 Operator::kNoDeopt | Operator::kNoThrow | properties, \
559 #Name, value_input_count, 1, control_input_count, \ 560 #Name, value_input_count, 1, control_input_count, \
560 output_count, 1, 0, access); \ 561 output_count, 1, 0, access); \
561 } 562 }
562 ACCESS_OP_LIST(ACCESS) 563 ACCESS_OP_LIST(ACCESS)
563 #undef ACCESS 564 #undef ACCESS
564 565
565 } // namespace compiler 566 } // namespace compiler
566 } // namespace internal 567 } // namespace internal
567 } // namespace v8 568 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/simplified-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698