Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.203 -> 1.204 --- Log message: Fix a bug I introduced yesterday, which broke functions with *no* arguments. --- Diffs of the changes: (+7 -0) X86ISelLowering.cpp | 7 +++++++ 1 files changed, 7 insertions(+) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.203 llvm/lib/Target/X86/X86ISelLowering.cpp:1.204 --- llvm/lib/Target/X86/X86ISelLowering.cpp:1.203 Tue May 16 02:21:53 2006 +++ llvm/lib/Target/X86/X86ISelLowering.cpp Tue May 16 12:08:35 2006 @@ -542,6 +542,9 @@ } FormalArgs.push_back(ArgValue); } + // Provide a chain. Note that this isn't the right one, but it works as well + // as before. + FormalArgs.push_back(DAG.getEntryNode()); } std::pair<SDOperand, SDOperand> @@ -1081,6 +1084,10 @@ } FormalArgs.push_back(ArgValue); } + + // Provide a chain. Note that this isn't the right one, but it works as well + // as before. + FormalArgs.push_back(DAG.getEntryNode()); } std::pair<SDOperand, SDOperand> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits