Glue layer: Make all mutable Loc & params const

This commit is contained in:
Martin Kinkelin 2020-12-13 14:48:06 +01:00
parent 3f9d05ac16
commit a9aafac862
25 changed files with 205 additions and 190 deletions

View file

@ -13,7 +13,7 @@
#include "gen/irstate.h"
#include "gen/logger.h"
void emitCoverageLinecountInc(Loc &loc) {
void emitCoverageLinecountInc(const Loc &loc) {
Module *m = gIR->dmodule;
// Only emit coverage increment for locations in the source of the current