mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 09:19:03 +02:00
removed erroneous asserts
This commit is contained in:
@@ -16,7 +16,6 @@ DValue* DtoBinAdd(DValue* lhs, DValue* rhs)
|
||||
LLValue *l, *r;
|
||||
l = lhs->getRVal();
|
||||
r = rhs->getRVal();
|
||||
assert(l->isintegral == r->isintegral);
|
||||
|
||||
LLValue* res;
|
||||
if (t->isfloating())
|
||||
@@ -35,7 +34,6 @@ DValue* DtoBinSub(DValue* lhs, DValue* rhs)
|
||||
LLValue *l, *r;
|
||||
l = lhs->getRVal();
|
||||
r = rhs->getRVal();
|
||||
assert(l->isintegral == r->isintegral);
|
||||
|
||||
LLValue* res;
|
||||
if (t->isfloating())
|
||||
@@ -54,7 +52,6 @@ DValue* DtoBinMul(Type* targettype, DValue* lhs, DValue* rhs)
|
||||
LLValue *l, *r;
|
||||
l = lhs->getRVal();
|
||||
r = rhs->getRVal();
|
||||
assert(l->isintegral == r->isintegral);
|
||||
|
||||
LLValue* res;
|
||||
if (t->isfloating())
|
||||
|
||||
Reference in New Issue
Block a user