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/js-generic-lowering.h" | 5 #include "src/compiler/js-generic-lowering.h" |
6 | 6 |
7 #include "src/ast/ast.h" | 7 #include "src/ast/ast.h" |
8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 ExternalReference message_address = | 618 ExternalReference message_address = |
619 ExternalReference::address_of_pending_message_obj(isolate()); | 619 ExternalReference::address_of_pending_message_obj(isolate()); |
620 node->RemoveInput(NodeProperties::FirstContextIndex(node)); | 620 node->RemoveInput(NodeProperties::FirstContextIndex(node)); |
621 node->InsertInput(zone(), 0, jsgraph()->ExternalConstant(message_address)); | 621 node->InsertInput(zone(), 0, jsgraph()->ExternalConstant(message_address)); |
622 node->InsertInput(zone(), 1, jsgraph()->IntPtrConstant(0)); | 622 node->InsertInput(zone(), 1, jsgraph()->IntPtrConstant(0)); |
623 StoreRepresentation representation(MachineRepresentation::kTagged, | 623 StoreRepresentation representation(MachineRepresentation::kTagged, |
624 kNoWriteBarrier); | 624 kNoWriteBarrier); |
625 NodeProperties::ChangeOp(node, machine()->Store(representation)); | 625 NodeProperties::ChangeOp(node, machine()->Store(representation)); |
626 } | 626 } |
627 | 627 |
| 628 void JSGenericLowering::LowerJSLoadModule(Node* node) { |
| 629 UNREACHABLE(); // Eliminated in typed lowering. |
| 630 } |
| 631 |
| 632 void JSGenericLowering::LowerJSStoreModule(Node* node) { |
| 633 UNREACHABLE(); // Eliminated in typed lowering. |
| 634 } |
| 635 |
628 void JSGenericLowering::LowerJSGeneratorStore(Node* node) { | 636 void JSGenericLowering::LowerJSGeneratorStore(Node* node) { |
629 UNREACHABLE(); // Eliminated in typed lowering. | 637 UNREACHABLE(); // Eliminated in typed lowering. |
630 } | 638 } |
631 | 639 |
632 void JSGenericLowering::LowerJSGeneratorRestoreContinuation(Node* node) { | 640 void JSGenericLowering::LowerJSGeneratorRestoreContinuation(Node* node) { |
633 UNREACHABLE(); // Eliminated in typed lowering. | 641 UNREACHABLE(); // Eliminated in typed lowering. |
634 } | 642 } |
635 | 643 |
636 void JSGenericLowering::LowerJSGeneratorRestoreRegister(Node* node) { | 644 void JSGenericLowering::LowerJSGeneratorRestoreRegister(Node* node) { |
637 UNREACHABLE(); // Eliminated in typed lowering. | 645 UNREACHABLE(); // Eliminated in typed lowering. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 } | 702 } |
695 | 703 |
696 | 704 |
697 MachineOperatorBuilder* JSGenericLowering::machine() const { | 705 MachineOperatorBuilder* JSGenericLowering::machine() const { |
698 return jsgraph()->machine(); | 706 return jsgraph()->machine(); |
699 } | 707 } |
700 | 708 |
701 } // namespace compiler | 709 } // namespace compiler |
702 } // namespace internal | 710 } // namespace internal |
703 } // namespace v8 | 711 } // namespace v8 |
OLD | NEW |