1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Don't pass address spaces to EmitULEB128IntValue.

llvm-svn: 129953
This commit is contained in:
Rafael Espindola 2011-04-21 23:26:40 +00:00
parent 692ae3cdc6
commit 1afc1304c7

View File

@ -565,11 +565,11 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
Streamer.EmitSLEB128IntValue(Offset); Streamer.EmitSLEB128IntValue(Offset);
} else if (Reg < 64) { } else if (Reg < 64) {
Streamer.EmitIntValue(dwarf::DW_CFA_offset + Reg, 1); Streamer.EmitIntValue(dwarf::DW_CFA_offset + Reg, 1);
Streamer.EmitULEB128IntValue(Offset, 1); Streamer.EmitULEB128IntValue(Offset);
} else { } else {
Streamer.EmitIntValue(dwarf::DW_CFA_offset_extended, 1); Streamer.EmitIntValue(dwarf::DW_CFA_offset_extended, 1);
Streamer.EmitULEB128IntValue(Reg, 1); Streamer.EmitULEB128IntValue(Reg);
Streamer.EmitULEB128IntValue(Offset, 1); Streamer.EmitULEB128IntValue(Offset);
} }
return; return;
} }