summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ConstantPools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/ConstantPools.cpp')
-rw-r--r--llvm/lib/MC/ConstantPools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ConstantPools.cpp b/llvm/lib/MC/ConstantPools.cpp
index 41ce68bfe0a..c4cea604b14 100644
--- a/llvm/lib/MC/ConstantPools.cpp
+++ b/llvm/lib/MC/ConstantPools.cpp
@@ -39,7 +39,7 @@ const MCExpr *ConstantPool::addEntry(const MCExpr *Value, MCContext &Context,
unsigned Size) {
MCSymbol *CPEntryLabel = Context.CreateTempSymbol();
- Entries.push_back( { CPEntryLabel, Value, Size } );
+ Entries.push_back(ConstantPoolEntry(CPEntryLabel, Value, Size));
return MCSymbolRefExpr::Create(CPEntryLabel, Context);
}
OpenPOWER on IntegriCloud