[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 13 23:06:57 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.178 -> 1.179
---
Log message:
fix a major regression from my patch this afternoon
---
Diffs of the changes: (+1 -0)
X86ISelPattern.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.178 llvm/lib/Target/X86/X86ISelPattern.cpp:1.179
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.178 Tue Sep 13 14:31:44 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Wed Sep 14 01:06:45 2005
@@ -1157,6 +1157,7 @@
void ISel::EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {
// If this is main, emit special code for main.
+ MachineBasicBlock *BB = MF.begin();
if (Fn.hasExternalLinkage() && Fn.getName() == "main")
EmitSpecialCodeForMain(BB, MF.getFrameInfo());
}
More information about the llvm-commits
mailing list