mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 19:36:06 +03:00
Use typed GEP in modules.cpp
(#4070)
This commit is contained in:
parent
c9b902e670
commit
194dfc91f0
1 changed files with 2 additions and 1 deletions
|
@ -268,7 +268,8 @@ void addCoverageAnalysis(Module *m) {
|
||||||
init, "_d_cover_data");
|
init, "_d_cover_data");
|
||||||
|
|
||||||
d_cover_data_slice = DtoConstSlice(DtoConstSize_t(m->numlines),
|
d_cover_data_slice = DtoConstSlice(DtoConstSize_t(m->numlines),
|
||||||
DtoGEP(m->d_cover_data, 0, 0));
|
DtoGEP(m->d_cover_data->getValueType(),
|
||||||
|
m->d_cover_data, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create "static constructor" that calls _d_cover_register2(string filename,
|
// Create "static constructor" that calls _d_cover_register2(string filename,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue