mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Reduce size of integer constant make x86-64 asm parsing code compile on x86-32.
This commit is contained in:
@@ -1712,7 +1712,7 @@ namespace AsmParserx8664
|
||||
operand->dataSize = Byte_Ptr;
|
||||
else if ( operand->constDisplacement < 0x10000 )
|
||||
operand->dataSize = Short_Ptr;
|
||||
else if ( operand->constDisplacement < 0x100000000 )
|
||||
else if ( operand->constDisplacement <= 0xFFFFFFFF )
|
||||
operand->dataSize = Int_Ptr;
|
||||
else
|
||||
//This could be possible since we are using 48 bits
|
||||
|
||||
Reference in New Issue
Block a user