llvm.org GIT mirror llvm / af2d701
Remove a misguided API extension git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1926 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
1 changed file(s) with 0 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
7070 V->getValueType() == Value::ConstantVal ||
7171 V->getValueType() == Value::InstructionVal;
7272 }
73
74 // addOperand - This is a special purpose API that should not be used in most
75 // cases. It adds an empty (null) operand to the instruction specified. This
76 // is currently used by the back end as part of the "lowering" process... most
77 // optimizations will not handle instructions that are not in their normal
78 // form, so this method should be used with care.
79 //
80 void addOperand() {
81 Operands.push_back(Use(0, this));
82 }
8373 };
8474
8575 #endif