Skip to content

Commit 2557cd8

Browse files
committed
LLVMBuildUtils: Do not return sentinel in non-standard scripts
1 parent 276222f commit 2557cd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/engine/internal/llvm/llvmbuildutils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ void LLVMBuildUtils::end(LLVMInstruction *lastInstruction, LLVMRegister *lastCon
234234
m_coroutine->endWithSentinel(threadEndSentinel());
235235
else {
236236
// There's no need to return the sentinel value in standard scripts because they don't have any callers
237-
m_coroutine->endWithSentinel(threadEndSentinel());
238-
// m_coroutine->end();
237+
m_coroutine->end();
239238
}
240239

241240
break;

0 commit comments

Comments
 (0)