diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-08 05:11:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-08 05:11:57 +0000 |
commit | 40b2c32475572d33ede7cf202f2d49cab9b43bb4 (patch) | |
tree | 648db86e658297112f309a15cf23d374e676838d /include/llvm/CodeGen/Analysis.h | |
parent | ef24963cbcb068a5796073354fde7b9d25fd17d0 (diff) | |
download | llvm-40b2c32475572d33ede7cf202f2d49cab9b43bb4.tar.gz llvm-40b2c32475572d33ede7cf202f2d49cab9b43bb4.tar.bz2 llvm-40b2c32475572d33ede7cf202f2d49cab9b43bb4.tar.xz |
Sink a function that refers to the SelectionDAG into that library in the
one file where it is called as a static function. Nuke the declaration
and the definition in lib/CodeGen, along with the include of
SelectionDAG.h from this file.
There is no dependency edge from lib/CodeGen to
lib/CodeGen/SelectionDAG, so it isn't valid for a routine in lib/CodeGen
to reference the DAG. There is a dependency from
lib/CodeGen/SelectionDAG on lib/CodeGen. This breaks one violation of
this layering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Analysis.h')
-rw-r--r-- | include/llvm/CodeGen/Analysis.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/Analysis.h b/include/llvm/CodeGen/Analysis.h index b54c76282e..81e75d894d 100644 --- a/include/llvm/CodeGen/Analysis.h +++ b/include/llvm/CodeGen/Analysis.h @@ -89,9 +89,6 @@ ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred); bool isInTailCallPosition(ImmutableCallSite CS, Attribute CalleeRetAttr, const TargetLowering &TLI); -bool isInTailCallPosition(SelectionDAG &DAG, SDNode *Node, - SDValue &Chain, const TargetLowering &TLI); - } // End llvm namespace #endif |