diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-08 01:00:31 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-08 01:00:31 +0000 |
| commit | f50daedfc749615b59c25b116bb445d16b332b47 (patch) | |
| tree | 80b58bde78c5873eac975d28bccba83f99cefe24 /llvm/include | |
| parent | bc068586ac2807bfb4030bd9c4789b6a12359a9c (diff) | |
| download | bcm5719-llvm-f50daedfc749615b59c25b116bb445d16b332b47.tar.gz bcm5719-llvm-f50daedfc749615b59c25b116bb445d16b332b47.zip | |
Redirect DataLayout from TargetMachine to Module in SjLjEHPrepare
Summary:
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.
Reviewers: echristo
Subscribers: yaron.keren, rafael, llvm-commits
Differential Revision: http://reviews.llvm.org/D11009
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 241654
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/Passes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h index ecf679f0ca0..5d829217447 100644 --- a/llvm/include/llvm/CodeGen/Passes.h +++ b/llvm/include/llvm/CodeGen/Passes.h @@ -605,7 +605,7 @@ namespace llvm { /// createSjLjEHPreparePass - This pass adapts exception handling code to use /// the GCC-style builtin setjmp/longjmp (sjlj) to handling EH control flow. /// - FunctionPass *createSjLjEHPreparePass(const TargetMachine *TM); + FunctionPass *createSjLjEHPreparePass(); /// LocalStackSlotAllocation - This pass assigns local frame indices to stack /// slots relative to one another and allocates base registers to access them |

