File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ class YkIRWriter {
239239 }
240240
241241 void serialiseAllocaInst (AllocaInst *I, ValueLoweringMap &VLMap,
242- unsigned BBIdx, unsigned InstIdx) {
242+ unsigned BBIdx, unsigned & InstIdx) {
243243 // type_index:
244244 OutStreamer.emitSizeT (typeIndex (I->getType ()));
245245 // opcode:
@@ -265,7 +265,7 @@ class YkIRWriter {
265265 }
266266
267267 void serialiseCallInst (CallInst *I, ValueLoweringMap &VLMap, unsigned BBIdx,
268- unsigned InstIdx) {
268+ unsigned & InstIdx) {
269269 // type_index:
270270 OutStreamer.emitSizeT (typeIndex (I->getType ()));
271271 // opcode:
@@ -289,7 +289,7 @@ class YkIRWriter {
289289 }
290290
291291 void serialiseBranchInst (BranchInst *I, ValueLoweringMap &VLMap,
292- unsigned BBIdx, unsigned InstIdx) {
292+ unsigned BBIdx, unsigned & InstIdx) {
293293 // We split LLVM's `br` into two Yk IR instructions: one for unconditional
294294 // branching, another for conidtional branching.
295295 if (!I->isConditional ()) {
You can’t perform that action at this time.
0 commit comments