Commit d3f236fa authored by bjaideep's avatar bjaideep Committed by Commit bot

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

Port 06fef85b

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}
parent 338622d7
......@@ -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
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment