Skip to content

Commit

Permalink
Merge pull request rust-lang#135 from vext01/send-func-idx
Browse files Browse the repository at this point in the history
Send the function index for local variable operands.
  • Loading branch information
ltratt authored Apr 19, 2024
2 parents a4e3131 + 933baa8 commit 7c45e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/YkIR/YkIRWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ class YkIRWriter {
void serialiseLocalVariableOperand(Instruction *I, ValueLoweringMap &VLMap) {
auto [BBIdx, InstIdx] = VLMap.at(I);
serialiseOperandKind(OperandKindLocal);
OutStreamer.emitSizeT(getIndex(&M, I->getFunction()));
OutStreamer.emitSizeT(BBIdx);
OutStreamer.emitSizeT(InstIdx);
}
Expand Down

0 comments on commit 7c45e9d

Please sign in to comment.