summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2015-07-08 01:00:31 +0000
committerMehdi Amini <mehdi.amini@apple.com>2015-07-08 01:00:31 +0000
commitf50daedfc749615b59c25b116bb445d16b332b47 (patch)
tree80b58bde78c5873eac975d28bccba83f99cefe24 /llvm/include
parentbc068586ac2807bfb4030bd9c4789b6a12359a9c (diff)
downloadbcm5719-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.h2
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
OpenPOWER on IntegriCloud