mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
Use _d_newarrayU instead of _d_newarrayvT
This commit is contained in:
parent
8f7f264c89
commit
50f729d415
5 changed files with 9 additions and 9 deletions
|
@ -617,7 +617,7 @@ DSliceValue* DtoNewDynArray(Loc& loc, Type* arrayType, DValue* dim, bool default
|
|||
|
||||
const char* fnname = defaultInit ?
|
||||
(zeroInit ? "_d_newarrayT" : "_d_newarrayiT") :
|
||||
"_d_newarrayvT";
|
||||
"_d_newarrayU";
|
||||
LLFunction* fn = LLVM_D_GetRuntimeFunction(loc, gIR->module, fnname);
|
||||
|
||||
// call allocator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue