projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't set GlobalPrefix to the default value.
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
MCTargetDesc
/
PPCMCExpr.cpp
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
b/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
index 95292679bb544d673e60e366b60b687ec19e0ea9..d7e84021595ea0c078d9230e756767f304b9095e 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
@@
-54,7
+54,7
@@
PPCMCExpr::EvaluateAsRelocatableImpl(MCValue &Res,
const MCAsmLayout *Layout) const {
MCValue Value;
- if (!getSubExpr()->EvaluateAsRelocatable(Value, *Layout))
+ if (!
Layout || !
getSubExpr()->EvaluateAsRelocatable(Value, *Layout))
return false;
if (Value.isAbsolute()) {