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

Commit

Permalink
Merge pull request #11224 from parjong/fix/arm_unaligned_ldobj
Browse files Browse the repository at this point in the history
[ARM/Linux] Honor unaligned prefix for ldobj instruction
  • Loading branch information
BruceForstall committed Apr 27, 2017
2 parents c983bb8 + 325aaac commit 58b0918
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jit/importer.cpp
Expand Up @@ -14805,6 +14805,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 58b0918

Please sign in to comment.