PPC/s390: [builtins] Port TypedArrayConstructByArrayBuffer to CodeStubAssembler.

Port 06fef85bdd

Original Commit Message:

    Part of the performance and refactoring work to move the TypedArray
    constructors into CSA. This CL moves ConstructByArrayBuffer from JS
    to CSA.

R=petermarshall@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=v8:5977
LOG=N

Review-Url: https://codereview.chromium.org/2742343005
Cr-Commit-Position: refs/heads/master@{#43756}
This commit is contained in:
bjaideep 2017-03-13 12:18:08 -07:00 committed by Commit bot
parent 338622d7ca
commit d3f236fa05
2 changed files with 8 additions and 0 deletions

View File

@ -1240,6 +1240,10 @@ void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
// TODO(mbrandy): inspect input to see if nop is appropriate.
VisitRR(this, kPPC_Uint32ToUint64, node);
}
void InstructionSelector::VisitChangeFloat64ToUint64(Node* node) {
VisitRR(this, kPPC_DoubleToUint64, node);
}
#endif

View File

@ -1633,6 +1633,10 @@ void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
}
VisitRR(this, kS390_Uint32ToUint64, node);
}
void InstructionSelector::VisitChangeFloat64ToUint64(Node* node) {
VisitRR(this, kS390_DoubleToUint64, node);
}
#endif
void InstructionSelector::VisitBitcastInt32ToFloat32(Node* node) {