Suppress implicit copy ctor and copy assignment for MachineFunction.

llvm-svn: 86557
This commit is contained in:
Dan Gohman 2009-11-09 17:06:23 +00:00
parent f81f528db1
commit 1c311a8cd7
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ class MachineFunction {
// The alignment of the function.
unsigned Alignment;
MachineFunction(const MachineFunction &); // intentionally unimplemented
void operator=(const MachineFunction&); // intentionally unimplemented
public:
MachineFunction(Function *Fn, const TargetMachine &TM);
~MachineFunction();