Skip to content

Commit

Permalink
[1.8>1.9] [MERGE #5023 @MikeHolman] don't update write barrier card t…
Browse files Browse the repository at this point in the history
…able for wasm stores

Merge pull request #5023 from MikeHolman:wasmswbfix

Fixes #5015
  • Loading branch information
MikeHolman committed Apr 21, 2018
2 parents 1ad224f + cbe8dba commit 3003fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Backend/Lower.cpp
Expand Up @@ -9223,7 +9223,8 @@ Lowerer::LowerStArrViewElem(IR::Instr * instr)
instr->FreeSrc2();
}
}
InsertMove(dst, src1, done);
// wasm memory buffer is not recycler allocated, so we shouldn't generate write barrier
InsertMove(dst, src1, done, false);

instr->Remove();
return instrPrev;
Expand Down

0 comments on commit 3003fad

Please sign in to comment.