diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-02-25 19:01:37 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-02-25 19:09:46 -0800 |
commit | 710881e071370e7acd66cbc5dca03e778e6ca12b (patch) | |
tree | d2cd7e5053435e0d6dafd9bb5f8eb9c351c96487 /lib | |
parent | e2fd38dcfcfb6e7fc3eb6e37e911e69f9dd0bbe8 (diff) |
Disable the RewritePNaClLibraryCalls pass, which isn't needed for Emscripten.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp index e7dcba353f..1ed0d7841a 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -83,7 +83,9 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { } void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) { +#if 0 // XXX EMSCRIPTEN: No need for this. PM.add(createRewritePNaClLibraryCallsPass()); +#endif // We place ExpandByVal after optimization passes because some byval // arguments can be expanded away by the ArgPromotion pass. Leaving |