summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-21 03:58:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-21 03:58:45 +0000
commit226bddaff109cdd2c4c7d60ad088a3ff7842d6da (patch)
treeefc8ac49f6937fec13f50c221f9fcd843c50c566 /clang/lib/CodeGen/CodeGenFunction.h
parent4bb04cee6aeaa9372aca6752249f723df28bf544 (diff)
downloadbcm5719-llvm-226bddaff109cdd2c4c7d60ad088a3ff7842d6da.tar.gz
bcm5719-llvm-226bddaff109cdd2c4c7d60ad088a3ff7842d6da.zip
IRgen/CGValue: Give MakeAddrLValue() an alignment argument, and eliminate old form of MakeAddr().
llvm-svn: 111723
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 8c5c380c22d..50305533582 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -976,7 +976,7 @@ public:
}
LValue MakeAddrLValue(llvm::Value *V, QualType T) {
- return LValue::MakeAddr(V, T, getContext());
+ return LValue::MakeAddr(V, T, 0, getContext());
}
/// CreateTempAlloca - This creates a alloca and inserts it into the entry
OpenPOWER on IntegriCloud