Suppress implicit copy ctor and copy assignment for MachineFunction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-11-09 17:06:23 +00:00
parent 75657ade45
commit 9d51c972c1

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();