Hi all,

Following recent work, AsmJS files have been moved to their own
/js/src/asmjs directory and AsmJS.{h,cpp} have been renamed into
AsmJSValidate.{h,cpp}. This might impact your work if you have patches
modifying these files.

Here is the sed line to apply to modify references to the files:

sed -e 's:jit/AsmJS\.:asmjs/AsmJSValidate\.:g' -e
's:jit/AsmJS:asmjs/AsmJS:g'


If you use mq, you can even go to your patch directory and run the
following bash program (which saves your patches in the ./saved
directory before applying the sed line, in case something goes wrong):


#!/bin/bash
mkdir -p ${SAVED:=saved} || exit 1
for file in `find . -type f`
do sed -e 's:jit/AsmJS\.:asmjs/AsmJSValidate\.:g' -e
's:jit/AsmJS:asmjs/AsmJS:g' $file >qqfile
    echo $file
    [ -s qqfile ] || continue # sed error, NO output
     cp $file $SAVED/`echo $file|sed 's/\//---/g'`
     cp qqfile $file
done


Hoping that will help people.
Cheers,
Ben
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to