diff options
author | John McCall <rjmccall@apple.com> | 2010-04-21 10:05:39 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-21 10:05:39 +0000 |
commit | 2188696d98f1b45a2de613107c684b97df9e9487 (patch) | |
tree | 79f76903490ad46766bd3a67655e1f240268906f /clang/lib/CodeGen/CGBlocks.h | |
parent | a668b45ebd70c88b9df46c7d420a247977dbf0e9 (diff) | |
download | bcm5719-llvm-2188696d98f1b45a2de613107c684b97df9e9487.tar.gz bcm5719-llvm-2188696d98f1b45a2de613107c684b97df9e9487.zip |
Miscellaneous codegen cleanups. Mostly, don't create new basic blocks
just to save the current insertion state! This change significantly
simplifies the IR CFG in exceptions code.
llvm-svn: 101996
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index efee0e36b85..5646d0036e9 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -38,6 +38,7 @@ namespace llvm { class GlobalValue; class TargetData; class FunctionType; + class PointerType; class Value; class LLVMContext; } @@ -127,7 +128,7 @@ protected: llvm::LLVMContext &VMContext; public: - const llvm::Type *PtrToInt8Ty; + const llvm::PointerType *PtrToInt8Ty; struct HelperInfo { int index; int flag; |