Added MachineCodeForInstruction object as an argument to
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 31 May 2003 07:41:24 +0000 (07:41 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 31 May 2003 07:41:24 +0000 (07:41 +0000)
commitf3d3ca18b5a36f3a331367aa9ff0c3bcbd86ca82
tree9e66723c3f2a70ddd884ac0abcba0c196793e3d1
parent3497782f3843007de3be0c43e3ff206a01e2ccac
Added MachineCodeForInstruction object as an argument to
TmpInstruction constructors because every TmpInstruction object has
to be registered with a MachineCodeForInstruction to prevent leaks.
This simplifies the user's code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6469 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/InstrSelection.h
lib/CodeGen/InstrSelection/InstrSelection.cpp
lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp