OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
6 #include "src/compiler/change-lowering.h" | 6 #include "src/compiler/change-lowering.h" |
7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
8 #include "src/compiler/node-properties-inl.h" | 8 #include "src/compiler/node-properties-inl.h" |
9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "test/unittests/compiler/compiler-test-utils.h" | 10 #include "test/unittests/compiler/compiler-test-utils.h" |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 IsFinish(AllOf(CaptureEq(&heap_number), | 449 IsFinish(AllOf(CaptureEq(&heap_number), |
450 IsAllocateHeapNumber(_, CaptureEq(&if_false))), | 450 IsAllocateHeapNumber(_, CaptureEq(&if_false))), |
451 IsStore(StoreRepresentation(kMachFloat64, kNoWriteBarrier), | 451 IsStore(StoreRepresentation(kMachFloat64, kNoWriteBarrier), |
452 CaptureEq(&heap_number), | 452 CaptureEq(&heap_number), |
453 IsInt64Constant(HeapNumberValueOffset()), | 453 IsInt64Constant(HeapNumberValueOffset()), |
454 IsChangeUint32ToFloat64(val), | 454 IsChangeUint32ToFloat64(val), |
455 CaptureEq(&heap_number), CaptureEq(&if_false))), | 455 CaptureEq(&heap_number), CaptureEq(&if_false))), |
456 IsMerge( | 456 IsMerge( |
457 IsIfTrue(AllOf(CaptureEq(&branch), | 457 IsIfTrue(AllOf(CaptureEq(&branch), |
458 IsBranch(IsUint32LessThanOrEqual( | 458 IsBranch(IsUint32LessThanOrEqual( |
459 val, IsInt64Constant(SmiMaxValue())), | 459 val, IsInt32Constant(SmiMaxValue())), |
460 graph()->start()))), | 460 graph()->start()))), |
461 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); | 461 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); |
462 } | 462 } |
463 | 463 |
464 } // namespace compiler | 464 } // namespace compiler |
465 } // namespace internal | 465 } // namespace internal |
466 } // namespace v8 | 466 } // namespace v8 |
OLD | NEW |