projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid using subtarget features when adding X86 specific passes to
[oota-llvm.git]
/
lib
/
Target
/
X86
/
MCTargetDesc
/
X86MachORelocationInfo.cpp
diff --git
a/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
b/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
index f2023e3b525bc208e0af5f5d46b1caaabdfb7459..3b81d53e948c1b03b3e71fb28729f86f56c1279a 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp
@@
-40,7
+40,7
@@
public:
// FIXME: check that the value is actually the same.
if (Sym->isVariable() == false)
Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx));
- const MCExpr *Expr =
0
;
+ const MCExpr *Expr =
nullptr
;
switch(RelType) {
case X86_64_RELOC_TLV: