Imported files from dmlap/llvm-js-backend master branch.  Did not keep history as the separate svn mirrors resulted in two unique histories for llvm.