Fix PPTC on Windows 7. (#1369)
* Fix PPTC on Windows 7. * Address gdkchan comment.
This commit is contained in:
parent
484eb645ae
commit
c050994995
6 changed files with 19 additions and 14 deletions
|
@ -914,7 +914,7 @@ namespace ARMeilleure.CodeGen.X86
|
|||
|
||||
WriteByte((byte)imm);
|
||||
}
|
||||
else if (IsImm32(imm, type) && info.OpRMImm32 != BadOp)
|
||||
else if (!source.Relocatable && IsImm32(imm, type) && info.OpRMImm32 != BadOp)
|
||||
{
|
||||
WriteOpCode(dest, null, null, type, info.Flags, info.OpRMImm32);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue