Skip to content

Commit f0ad59a

Browse files
abidhtgymnich
andcommitted
Update llvm/lib/Transforms/Utils/CodeExtractor.cpp
Co-authored-by: Tim Gymnich <[email protected]>
1 parent 1a28e55 commit f0ad59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ static void eraseDebugIntrinsicsWithNonLocalRefs(Function &F) {
12501250
/// 4. Remove intrinsics which point to values outside of the new function.
12511251
static void fixupDebugInfoPostExtraction(
12521252
Function &OldFunc, Function &NewFunc, CallInst &TheCall,
1253-
const SetVector<Value *> &Inputs, const SmallVector<Value *> &NewValues) {
1253+
const SetVector<Value *> &Inputs, ArrayRef<Value *> NewValues) {
12541254
DISubprogram *OldSP = OldFunc.getSubprogram();
12551255
LLVMContext &Ctx = OldFunc.getContext();
12561256

0 commit comments

Comments
 (0)