mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
fixme resolved!
llvm-svn: 96029
This commit is contained in:
parent
1e01ac75bc
commit
3df1321651
@ -139,7 +139,6 @@ static MCFixupKind getImmFixupKind(unsigned TSFlags) {
|
||||
unsigned Size = X86II::getSizeOfImm(TSFlags);
|
||||
bool isPCRel = X86II::isImmPCRel(TSFlags);
|
||||
|
||||
// FIXME: Pass in the relocation type, this is just a hack..
|
||||
switch (Size) {
|
||||
default: assert(0 && "Unknown immediate size");
|
||||
case 1: return isPCRel ? MCFixupKind(X86::reloc_pcrel_1byte) : FK_Data_1;
|
||||
|
Loading…
Reference in New Issue
Block a user