diff options
author | John McCall <rjmccall@apple.com> | 2018-01-12 22:07:01 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2018-01-12 22:07:01 +0000 |
commit | 5cdf0383741fadeec1896b624648eff3689a8d2d (patch) | |
tree | b3b31468b01c413e4b27cb98fe7b388d12658523 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 526fb05c0aeaf13925fbaf27cd30dcd2b68d19ab (diff) | |
download | bcm5719-llvm-5cdf0383741fadeec1896b624648eff3689a8d2d.tar.gz bcm5719-llvm-5cdf0383741fadeec1896b624648eff3689a8d2d.zip |
Allocate and access NormalCleanupDest with the natural alignment of i32.
This alignment can be less than 4 on certain embedded targets, which may
not even be able to deal with 4-byte alignment on the stack.
Patch by Jacob Young!
llvm-svn: 322406
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 228cbe69acb..e1db4c74992 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -434,7 +434,7 @@ public: }; /// i32s containing the indexes of the cleanup destinations. - llvm::AllocaInst *NormalCleanupDest; + Address NormalCleanupDest; unsigned NextCleanupDestIndex; |