Use manual loop instead of memcpy/strcpy when creating short strings.
Use manual loop instead of memcpy/strcpy when creating short strings.

Due to our slightly icky struct layout, some versions of gcc barf and
generate crashing code when using strcpy and memcpy. I suspect gcc tries
to do some weird optimizations that fail because we intentionally
overwrite the 'pad' data in the js_Value struct for short strings.

guiquanz/mujs,lsm/mujs,ccxvii/mujs,BOGY/mujs,ccxvii/mujs,thurday/mujs,evanlabs/mujs,ccxvii/mujs,ccxvii/mujs,Frky/mujs