Construct annotation, to make sure it's attached to function

llvm-svn: 4429
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 4659bea..358ea2e 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -32,7 +32,7 @@
     /// the entire function.
     ///
     bool runOnFunction(Function &Fn) {
-      F = new MachineFunction(&Fn, TM);
+      F = &MachineFunction::construct(&Fn, TM);
       visit(Fn);
       RegMap.clear();
       F = 0;