File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/llvm/Transforms/Utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ class CodeExtractorAnalysisCache {
291291 const ValueSet &StructValues, Function *newFunction,
292292 StructType *StructArgTy, BasicBlock *header,
293293 const ValueSet &SinkingCands,
294- SmallVector <Value *> &NewValues);
294+ SmallVectorImpl <Value *> &NewValues);
295295
296296 // / Generates a Basic Block that calls the extracted function.
297297 CallInst *emitReplacerCall (const ValueSet &inputs, const ValueSet &outputs,
Original file line number Diff line number Diff line change @@ -1627,7 +1627,7 @@ void CodeExtractor::emitFunctionBody(
16271627 const ValueSet &inputs, const ValueSet &outputs,
16281628 const ValueSet &StructValues, Function *newFunction,
16291629 StructType *StructArgTy, BasicBlock *header, const ValueSet &SinkingCands,
1630- SmallVector <Value *> &NewValues) {
1630+ SmallVectorImpl <Value *> &NewValues) {
16311631 Function *oldFunction = header->getParent ();
16321632 LLVMContext &Context = oldFunction->getContext ();
16331633
You can’t perform that action at this time.
0 commit comments