compiler.cfg.dependence: Add ##allot to control dependency chain, so that we don't re-order an allocation and initialization with an alien call. The alien call might GC, exposing uninitialized memory to the GC. Fixes #53, fixes #58, fixes #20.
parent
34f71ea042
commit
edddffdadd
|
@ -55,6 +55,7 @@ UNION: slot-insn
|
||||||
##read ##write ;
|
##read ##write ;
|
||||||
|
|
||||||
UNION: memory-insn
|
UNION: memory-insn
|
||||||
|
##allot
|
||||||
##load-memory ##load-memory-imm
|
##load-memory ##load-memory-imm
|
||||||
##store-memory ##store-memory-imm
|
##store-memory ##store-memory-imm
|
||||||
##write-barrier ##write-barrier-imm
|
##write-barrier ##write-barrier-imm
|
||||||
|
|
Loading…
Reference in New Issue