Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #418 from dawgfoto/stackSwitchRet
Browse files Browse the repository at this point in the history
replace return with pop and unconditional jump
  • Loading branch information
alexrp committed Feb 18, 2013
2 parents ec2d763 + b57f924 commit 0ce7d48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/thread.d
Expand Up @@ -3279,7 +3279,8 @@ private
pop EBP;

// 'return' to complete switch
ret;
pop ECX;
jmp ECX;
}
}
else version( AsmX86_64_Windows )
Expand Down

0 comments on commit 0ce7d48

Please sign in to comment.