mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Added descriptive messages to always-taken assertions in Nativei386.cpp.
This commit is contained in:
parent
977123733e
commit
d5e48e84d7
@ -385,7 +385,7 @@ namespace nanojit
|
||||
mem = &branch[6] + *(int32_t *)&branch[2];
|
||||
*(intptr_t *)mem = intptr_t(location);
|
||||
} else {
|
||||
NanoAssert(0);
|
||||
NanoAssertMsg(0, "Unknown branch type in nPatchBranch");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@ -1136,10 +1136,10 @@ namespace nanojit
|
||||
} else {
|
||||
if (rmask(r) & XmmRegs) {
|
||||
// x87 -> xmm
|
||||
NanoAssert(false);
|
||||
NanoAssertMsg(false, "Should not move data from GPR to XMM");
|
||||
} else {
|
||||
// xmm -> x87
|
||||
NanoAssert(false);
|
||||
NanoAssertMsg(false, "Should not move data from GPR/XMM to x87 FPU");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1324,7 +1324,6 @@ namespace nanojit
|
||||
ORQ(rr, rv);
|
||||
} else {
|
||||
NanoAssert(rhs->isconst());
|
||||
NanoAssert(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user