Fix for size>=(1<<20) for codegen (ARM version).

Fix codegen for size>=(1<<20) (ARM version).