aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp2
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