mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
Fix asserts in CodeGen from:
assert("error"); to: assert(0 && "error"); llvm-svn: 139449
This commit is contained in:
parent
52492b1cf3
commit
43ea533a5e
@ -155,7 +155,7 @@ void ELFCodeEmitter::emitConstantPool(MachineConstantPool *MCP) {
|
||||
CPSections.push_back(CstPool.SectionIdx);
|
||||
|
||||
if (CPE.isMachineConstantPoolEntry())
|
||||
assert("CPE.isMachineConstantPoolEntry not supported yet");
|
||||
assert(0 && "CPE.isMachineConstantPoolEntry not supported yet");
|
||||
|
||||
// Emit the constant to constant pool section
|
||||
EW.EmitGlobalConstant(CPE.Val.ConstVal, CstPool);
|
||||
|
@ -58,13 +58,13 @@ namespace llvm {
|
||||
|
||||
/// emitLabel - Emits a label
|
||||
virtual void emitLabel(MCSymbol *Label) {
|
||||
assert("emitLabel not implemented");
|
||||
assert(0 && "emitLabel not implemented");
|
||||
}
|
||||
|
||||
/// getLabelAddress - Return the address of the specified LabelID,
|
||||
/// only usable after the LabelID has been emitted.
|
||||
virtual uintptr_t getLabelAddress(MCSymbol *Label) const {
|
||||
assert("getLabelAddress not implemented");
|
||||
assert(0 && "getLabelAddress not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user