summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-14 23:10:40 +0000
committerOwen Anderson <resistor@mac.com>2009-07-14 23:10:40 +0000
commit170229f68d84a4f479474e1d4fe21f6e51c9a3ec (patch)
treedf2274c44c6de254cc78545a99c3e49f27cc0d93 /clang/lib/CodeGen/CodeGenFunction.h
parentb6b2530000366d6982736dd0d0cc3585b01cf37b (diff)
downloadbcm5719-llvm-170229f68d84a4f479474e1d4fe21f6e51c9a3ec.tar.gz
bcm5719-llvm-170229f68d84a4f479474e1d4fe21f6e51c9a3ec.zip
Update for LLVM API change, and contextify a bunch of related stuff.
llvm-svn: 75705
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 2c4d311ac22..ffea5023fca 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -294,7 +294,7 @@ public:
llvm::BasicBlock *getInvokeDest() { return InvokeDest; }
void setInvokeDest(llvm::BasicBlock *B) { InvokeDest = B; }
- llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); }
+ llvm::LLVMContext &getLLVMContext() { return VMContext; }
//===--------------------------------------------------------------------===//
// Objective-C
OpenPOWER on IntegriCloud