aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-19 19:05:59 +0000
committerDan Gohman <gohman@apple.com>2010-04-19 19:05:59 +0000
commit55e59c186303ff02c0be7429da3b1b36c347f164 (patch)
tree737df0ab77e166eff886743c8e3ded1279054d86 /include
parent46007b3712290c09d895f4bd245ac852f412556c (diff)
downloadexternal_llvm-55e59c186303ff02c0be7429da3b1b36c347f164.zip
external_llvm-55e59c186303ff02c0be7429da3b1b36c347f164.tar.gz
external_llvm-55e59c186303ff02c0be7429da3b1b36c347f164.tar.bz2
Code that needs a TargetMachine should have access to one directly, rather
than just getting one through a TargetLowering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/Passes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index 90f55df..3833a7a 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -199,7 +199,7 @@ namespace llvm {
/// createDwarfEHPass - This pass mulches exception handling code into a form
/// adapted to code generation. Required if using dwarf exception handling.
- FunctionPass *createDwarfEHPass(const TargetLowering *tli, bool fast);
+ FunctionPass *createDwarfEHPass(const TargetMachine *tm, bool fast);
/// createSjLjEHPass - This pass adapts exception handling code to use
/// the GCC-style builtin setjmp/longjmp (sjlj) to handling EH control flow.