diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-25 23:00:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-25 23:00:45 +0000 |
commit | aafe626c7fa9f99150cccd27d0151a2cf7c8c00b (patch) | |
tree | dae7cdcfc6e656584c51ad82ca5a39b56975eb2a /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | e6f7c267df11a44679c35dec79787fbc276839fb (diff) | |
download | external_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.zip external_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.tar.gz external_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.tar.bz2 |
remove some llvmcontext arguments that are now dead post-refactoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 5f55593..849220a 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -100,8 +100,7 @@ public: /// it is already legal or we need to expand it into multiple registers of /// smaller integer type, or we need to promote it to a larger type. LegalizeAction getTypeAction(EVT VT) const { - return - (LegalizeAction)ValueTypeActions.getTypeAction(*DAG.getContext(), VT); + return (LegalizeAction)ValueTypeActions.getTypeAction(VT); } /// isTypeLegal - Return true if this type is legal on this target. |