mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
- made absMaskInt const
This commit is contained in:
parent
d137b3c94e
commit
08c0ac541f
1 changed files with 3 additions and 3 deletions
|
@ -270,7 +270,7 @@ void emitComparisonOpcode(asmjit::X86Compiler& cc, const TArray<asmjit::Label>&
|
|||
|
||||
JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
||||
{
|
||||
#if 0 // For debugging
|
||||
#if 1 // For debugging
|
||||
if (strcmp(sfunc->Name.GetChars(), "EmptyFunction") != 0)
|
||||
return nullptr;
|
||||
#else
|
||||
|
@ -1178,7 +1178,7 @@ JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
|||
else {
|
||||
auto tmp = cc.newXmmSd();
|
||||
|
||||
int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||
const int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
||||
auto absMaskXmm = cc.newXmmPd();
|
||||
|
||||
|
@ -1218,7 +1218,7 @@ JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
|||
auto konstTmp = cc.newIntPtr();
|
||||
auto subTmp = cc.newXmmSd();
|
||||
|
||||
int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||
const int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
||||
auto absMaskXmm = cc.newXmmPd();
|
||||
|
||||
|
|
Loading…
Reference in a new issue