Skip to content

Commit b29af77

Browse files
committed
Build LLVM some API dont support iterator so use pointer
1 parent 0f9244b commit b29af77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/Emu/Cell/SPULLVMRecompiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
26172617
{
26182618
if (b2 != bqbi)
26192619
{
2620-
auto ins = b2->block->getFirstNonPHIIt();
2620+
auto ins = &*b2->block->getFirstNonPHIIt();
26212621

26222622
if (b2->bb->preds.size() == 1)
26232623
{

0 commit comments

Comments
 (0)