| 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/compiler/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "src/address-map.h" | 9 #include "src/address-map.h" |
| 10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
| (...skipping 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2383 ProcessRemainingInputs(node, 1); | 2383 ProcessRemainingInputs(node, 1); |
| 2384 SetOutput(node, MachineRepresentation::kTagged); | 2384 SetOutput(node, MachineRepresentation::kTagged); |
| 2385 } | 2385 } |
| 2386 return; | 2386 return; |
| 2387 } | 2387 } |
| 2388 case IrOpcode::kCheckMaps: | 2388 case IrOpcode::kCheckMaps: |
| 2389 case IrOpcode::kTransitionElementsKind: { | 2389 case IrOpcode::kTransitionElementsKind: { |
| 2390 VisitInputs(node); | 2390 VisitInputs(node); |
| 2391 return SetOutput(node, MachineRepresentation::kNone); | 2391 return SetOutput(node, MachineRepresentation::kNone); |
| 2392 } | 2392 } |
| 2393 case IrOpcode::kEnsureWritableFastElements: | |
| 2394 return VisitBinop(node, UseInfo::AnyTagged(), | |
| 2395 MachineRepresentation::kTagged); | |
| 2396 | 2393 |
| 2397 //------------------------------------------------------------------ | 2394 //------------------------------------------------------------------ |
| 2398 // Machine-level operators. | 2395 // Machine-level operators. |
| 2399 //------------------------------------------------------------------ | 2396 //------------------------------------------------------------------ |
| 2400 case IrOpcode::kLoad: { | 2397 case IrOpcode::kLoad: { |
| 2401 // TODO(jarin) Eventually, we should get rid of all machine stores | 2398 // TODO(jarin) Eventually, we should get rid of all machine stores |
| 2402 // from the high-level phases, then this becomes UNREACHABLE. | 2399 // from the high-level phases, then this becomes UNREACHABLE. |
| 2403 LoadRepresentation rep = LoadRepresentationOf(node->op()); | 2400 LoadRepresentation rep = LoadRepresentationOf(node->op()); |
| 2404 ProcessInput(node, 0, UseInfo::AnyTagged()); // tagged pointer | 2401 ProcessInput(node, 0, UseInfo::AnyTagged()); // tagged pointer |
| 2405 ProcessInput(node, 1, UseInfo::PointerInt()); // index | 2402 ProcessInput(node, 1, UseInfo::PointerInt()); // index |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3676 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3673 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
| 3677 Operator::kNoProperties); | 3674 Operator::kNoProperties); |
| 3678 to_number_operator_.set(common()->Call(desc)); | 3675 to_number_operator_.set(common()->Call(desc)); |
| 3679 } | 3676 } |
| 3680 return to_number_operator_.get(); | 3677 return to_number_operator_.get(); |
| 3681 } | 3678 } |
| 3682 | 3679 |
| 3683 } // namespace compiler | 3680 } // namespace compiler |
| 3684 } // namespace internal | 3681 } // namespace internal |
| 3685 } // namespace v8 | 3682 } // namespace v8 |
| OLD | NEW |