Commit ff287be9 authored by epertoso's avatar epertoso Committed by Commit bot

[turbofan] Fixes CodeAssembler::Word32Shr'r rhs operand type.

BUG=

Review-Url: https://codereview.chromium.org/2425723002
Cr-Commit-Position: refs/heads/master@{#40367}
parent 7b5f018a
...@@ -216,7 +216,7 @@ Node* CodeAssembler::WordShr(Node* value, int shift) { ...@@ -216,7 +216,7 @@ Node* CodeAssembler::WordShr(Node* value, int shift) {
} }
Node* CodeAssembler::Word32Shr(Node* value, int shift) { Node* CodeAssembler::Word32Shr(Node* value, int shift) {
return (shift != 0) ? raw_assembler_->Word32Shr(value, IntPtrConstant(shift)) return (shift != 0) ? raw_assembler_->Word32Shr(value, Int32Constant(shift))
: value; : value;
} }
......
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