Commit 84c84fb3 authored by Mythri's avatar Mythri Committed by Commit Bot

Fix interpreter-assembler-unittest to check poisoning on unaligned loads

Check for poisoned loads in unaligned loads in
interpreter-assembler-unittest node matcher.

Change-Id: I5007ed1767edb035181c66028dda064b7792267f
Reviewed-on: https://chromium-review.googlesource.com/1018902Reviewed-by: 's avatarMiran Karić <miran.karic@mips.com>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52700}
parent f8cd7561
......@@ -127,7 +127,8 @@ InterpreterAssemblerTest::InterpreterAssemblerForTest::IsUnsignedShortOperand(
c::IsParameter(InterpreterDispatchDescriptor::kBytecodeArray),
c::IsIntPtrAdd(
c::IsParameter(InterpreterDispatchDescriptor::kBytecodeOffset),
c::IsIntPtrConstant(offset + kMsbOffset + kStep * i)));
c::IsIntPtrConstant(offset + kMsbOffset + kStep * i)),
needs_poisoning);
}
return c::IsWord32Or(
c::IsWord32Shl(bytes[0], c::IsInt32Constant(kBitsPerByte)), bytes[1]);
......
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