mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 16:40:15 +00:00
Remove a misguided API extension
llvm-svn: 1926
This commit is contained in:
parent
daba86d4bf
commit
7b3dc0948b
@ -71,16 +71,6 @@ public:
|
||||
V->getValueType() == Value::ConstantVal ||
|
||||
V->getValueType() == Value::InstructionVal;
|
||||
}
|
||||
|
||||
// addOperand - This is a special purpose API that should not be used in most
|
||||
// cases. It adds an empty (null) operand to the instruction specified. This
|
||||
// is currently used by the back end as part of the "lowering" process... most
|
||||
// optimizations will not handle instructions that are not in their normal
|
||||
// form, so this method should be used with care.
|
||||
//
|
||||
void addOperand() {
|
||||
Operands.push_back(Use(0, this));
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user