[Vm-dev] Are AlignmentNops actually used?

Boris Shingarov boris at shingarov.com
Thu Sep 17 08:59:23 UTC 2020


In my -- admittedly very limited (Squeak ReaderImages simulating ARMv7) 
-- tests I've never seen #concretizeAlignmentNops do anything.  It does 
get called, but it never emits any code.  This is because 
machineCodeSize=0, so the

0 to: machineCodeSize - 1 by: 4 do:
         [:p| self machineCodeAt: p put: 16rE1A00000].

gets no iterations.

Are there cases when this gets called with nonzero machineCodeSize, or 
is it a candidate for deletion?



More information about the Vm-dev mailing list