Skip to content

Commit c9db483

Browse files
hmelderdavidchisnall
authored andcommitted
Assign runtime function to imp
1 parent f697eab commit c9db483

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/CodeGen/CGObjCGNU.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,9 +2927,9 @@ CGObjCGNU::GenerateMessageSend(CodeGenFunction &CGF,
29272927

29282928
// The actual types here don't matter - we're going to bitcast the
29292929
// function anyway
2930-
CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
2931-
name)
2932-
.getCallee();
2930+
imp = CGM.CreateRuntimeFunction(
2931+
llvm::FunctionType::get(IdTy, IdTy, true), name)
2932+
.getCallee();
29332933
} else {
29342934
imp = CGM.CreateRuntimeFunction(
29352935
llvm::FunctionType::get(IdTy, IdTy, true), "objc_msgSend")

0 commit comments

Comments
 (0)