mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- backend update from GZDoom.
This commit is contained in:
parent
4d226d19e7
commit
eae97ded1b
4 changed files with 21 additions and 13 deletions
|
@ -2170,7 +2170,6 @@ FxExpression *FxPreIncrDecr::Resolve(FCompileContext &ctx)
|
|||
ExpEmit FxPreIncrDecr::Emit(VMFunctionBuilder *build)
|
||||
{
|
||||
assert(Token == TK_Incr || Token == TK_Decr);
|
||||
assert(ValueType == Base->ValueType && IsNumeric());
|
||||
|
||||
int zero = build->GetConstantInt(0);
|
||||
int regtype = ValueType->GetRegType();
|
||||
|
@ -2257,7 +2256,6 @@ FxExpression *FxPostIncrDecr::Resolve(FCompileContext &ctx)
|
|||
ExpEmit FxPostIncrDecr::Emit(VMFunctionBuilder *build)
|
||||
{
|
||||
assert(Token == TK_Incr || Token == TK_Decr);
|
||||
assert(ValueType == Base->ValueType && IsNumeric());
|
||||
|
||||
int zero = build->GetConstantInt(0);
|
||||
int regtype = ValueType->GetRegType();
|
||||
|
@ -5261,7 +5259,6 @@ FxExpression *FxMinMax::Resolve(FCompileContext &ctx)
|
|||
else
|
||||
{
|
||||
ExpVal value = static_cast<FxConstant *>(choices[j])->GetValue();
|
||||
assert(value.Type == ValueType);
|
||||
if (Type == NAME_Min)
|
||||
{
|
||||
if (value.Type->GetRegType() == REGT_FLOAT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue