OLD | NEW |
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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 V(StringLessThanOrEqual, Operator::kNoProperties, 2) | 304 V(StringLessThanOrEqual, Operator::kNoProperties, 2) |
305 | 305 |
306 #define SPECULATIVE_BINOP_LIST(V) \ | 306 #define SPECULATIVE_BINOP_LIST(V) \ |
307 V(SpeculativeNumberAdd) \ | 307 V(SpeculativeNumberAdd) \ |
308 V(SpeculativeNumberSubtract) \ | 308 V(SpeculativeNumberSubtract) \ |
309 V(SpeculativeNumberDivide) \ | 309 V(SpeculativeNumberDivide) \ |
310 V(SpeculativeNumberMultiply) \ | 310 V(SpeculativeNumberMultiply) \ |
311 V(SpeculativeNumberModulus) | 311 V(SpeculativeNumberModulus) |
312 | 312 |
313 #define CHECKED_OP_LIST(V) \ | 313 #define CHECKED_OP_LIST(V) \ |
| 314 V(CheckNumber, 1) \ |
314 V(CheckTaggedPointer, 1) \ | 315 V(CheckTaggedPointer, 1) \ |
315 V(CheckTaggedSigned, 1) \ | 316 V(CheckTaggedSigned, 1) \ |
316 V(CheckedInt32Add, 2) \ | 317 V(CheckedInt32Add, 2) \ |
317 V(CheckedInt32Sub, 2) \ | 318 V(CheckedInt32Sub, 2) \ |
318 V(CheckedUint32ToInt32, 1) \ | 319 V(CheckedUint32ToInt32, 1) \ |
319 V(CheckedFloat64ToInt32, 1) \ | 320 V(CheckedFloat64ToInt32, 1) \ |
320 V(CheckedTaggedToInt32, 1) \ | 321 V(CheckedTaggedToInt32, 1) \ |
321 V(CheckedTaggedToFloat64, 1) | 322 V(CheckedTaggedToFloat64, 1) |
322 | 323 |
323 struct SimplifiedOperatorGlobalCache final { | 324 struct SimplifiedOperatorGlobalCache final { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 Operator::kNoDeopt | Operator::kNoThrow | properties, \ | 561 Operator::kNoDeopt | Operator::kNoThrow | properties, \ |
561 #Name, value_input_count, 1, control_input_count, \ | 562 #Name, value_input_count, 1, control_input_count, \ |
562 output_count, 1, 0, access); \ | 563 output_count, 1, 0, access); \ |
563 } | 564 } |
564 ACCESS_OP_LIST(ACCESS) | 565 ACCESS_OP_LIST(ACCESS) |
565 #undef ACCESS | 566 #undef ACCESS |
566 | 567 |
567 } // namespace compiler | 568 } // namespace compiler |
568 } // namespace internal | 569 } // namespace internal |
569 } // namespace v8 | 570 } // namespace v8 |
OLD | NEW |