mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- apply asmjit register allocator bugfix
- enable debug builds of asmjit
This commit is contained in:
parent
b7c0cd5d05
commit
e66015cce6
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 2.8.7)
|
||||
|
||||
make_release_only()
|
||||
#make_release_only()
|
||||
|
||||
project(asmjit C)
|
||||
|
||||
|
|
|
@ -3341,7 +3341,7 @@ ASMJIT_INLINE void X86CallAlloc::alloc() {
|
|||
// allocation tasks by a single 'xchg' instruction, swapping
|
||||
// two registers required by the instruction/node or one register
|
||||
// required with another non-required.
|
||||
if (C == X86Reg::kKindGp) {
|
||||
if (C == X86Reg::kKindGp && sPhysId != Globals::kInvalidRegId) {
|
||||
_context->swapGp(aVReg, bVReg);
|
||||
|
||||
aTied->flags |= TiedReg::kRDone;
|
||||
|
|
Loading…
Reference in a new issue