Commit 301da467 authored by ishell's avatar ishell Committed by Commit bot

Fix improper usage of SmiUntag operation in CodeStubAssembler.

Review-Url: https://codereview.chromium.org/1986043002
Cr-Commit-Position: refs/heads/master@{#36270}
parent 4306fc4e
......@@ -259,7 +259,7 @@ Node* CodeStubAssembler::SmiToWord32(Node* value) {
}
Node* CodeStubAssembler::SmiToFloat64(Node* value) {
return ChangeInt32ToFloat64(SmiUntag(value));
return ChangeInt32ToFloat64(SmiToWord32(value));
}
Node* CodeStubAssembler::SmiAdd(Node* a, Node* b) { return IntPtrAdd(a, b); }
......
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