Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[ARM/Linux] Honor unaligned prefix for ldobj instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
parjong committed Apr 26, 2017
1 parent 6aa4c7b commit 325aaac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14806,6 +14806,11 @@ void Compiler::impImportBlockCode(BasicBlock* block)
// Could point anywhere, example a boxed class static int
op1->gtFlags |= GTF_IND_TGTANYWHERE | GTF_GLOB_REF;
assertImp(varTypeIsArithmetic(op1->gtType));

if (prefixFlags & PREFIX_UNALIGNED)
{
op1->gtFlags |= GTF_IND_UNALIGNED;
}
}
else
{
Expand Down

0 comments on commit 325aaac

Please sign in to comment.