mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 16:43:13 +01:00
[svn r317] Convert result of _adEq runtime function to bool to make sure EqualExp returns i1 bool.
This commit is contained in:
@@ -808,7 +808,7 @@ LLValue* DtoArrayEquals(TOK op, DValue* l, DValue* r)
|
||||
if (op == TOKnotequal)
|
||||
res = gIR->ir->CreateNot(res, "tmp");
|
||||
|
||||
return res;
|
||||
return DtoBoolean(res);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user