mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Use optimized array operators implemented in druntime
This commit is contained in:
parent
e0dc95052b
commit
f2ed2e96b0
5 changed files with 31 additions and 13 deletions
|
@ -33,7 +33,7 @@ static Module* getDefinedModule(Dsymbol* s)
|
|||
// array operations as well
|
||||
else if (FuncDeclaration* fd = s->isFuncDeclaration())
|
||||
{
|
||||
if (fd->isArrayOp)
|
||||
if (fd->isArrayOp == 1)
|
||||
return gIR->dmodule;
|
||||
}
|
||||
// otherwise use the symbol's module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue