Commit 267a639b authored by Daniel Clifford's avatar Daniel Clifford Committed by Commit Bot

[torque]: Fix bug uncovered by Netflix in Canary

Bug: chromium:852685
Change-Id: I0bb6cf433a5ea0a91d77048d3eef0d8077b8208e
Reviewed-on: https://chromium-review.googlesource.com/1102433Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Daniel Clifford <danno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53766}
parent 5b4e8db5
......@@ -356,7 +356,7 @@ from_constexpr<intptr>(i: constexpr int32): intptr {
return IntPtrConstant(i);
}
from_constexpr<int32>(i: constexpr int32): int32 {
return Int32Constant(2);
return Int32Constant(i);
}
from_constexpr<word32>(i: constexpr int32): word32 {
return from_constexpr<int32>(i);
......
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