projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reapply [FastISel] Let the target decide first if it wants to materialize a constant...
[oota-llvm.git]
/
lib
/
MC
/
ConstantPools.cpp
diff --git
a/lib/MC/ConstantPools.cpp
b/lib/MC/ConstantPools.cpp
index 41ce68bfe0a581e9ce559adf16201baec6f717cc..c4cea604b14626af1906370992c3856c5448b0da 100644
(file)
--- a/
lib/MC/ConstantPools.cpp
+++ b/
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);
}