Skip to content

Commit

Permalink
[jnc_ct] fix: newer llvms don't allow implicit cast from Instruction&…
Browse files Browse the repository at this point in the history
… to BasicBlock::iterator
  • Loading branch information
vovkos committed Jun 26, 2024
1 parent fa60b00 commit 8832ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jnc_ct/jnc_ct_Module/jnc_ct_Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ ControlFlowMgr::enterReactiveExpression() {
m_reactorBody->m_reactionBindingCount = 0;

if (m_module->hasCodeGen() && !m_currentBlock->getLlvmBlock()->empty())
m_reactorBody->m_llvmReactionIt = m_currentBlock->getLlvmBlock()->back();
m_reactorBody->m_llvmReactionIt = llvm::BasicBlock::iterator(m_currentBlock->getLlvmBlock()->back());
}

//..............................................................................
Expand Down

0 comments on commit 8832ee0

Please sign in to comment.