aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@chromium.org>2013-03-11 15:38:11 -0700
committerEli Bendersky <eliben@chromium.org>2013-03-20 14:49:21 -0700
commitd41567d2ffd3413600162653c08b2365bd5bcbbf (patch)
treeaa1c212bcf816f4011315b80826acfb85ae7d9f3 /lib/CodeGen/Passes.cpp
parent23c00401dad33ca247d2818e71540079bed63c5b (diff)
Apply after-merge fixes to return to working state.
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r--lib/CodeGen/Passes.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index f8e390c753..b79f9f9816 100644
--- a/lib/CodeGen/Passes.cpp
+++ b/lib/CodeGen/Passes.cpp
@@ -352,16 +352,6 @@ void TargetPassConfig::addIRPasses() {
addPass(createTypeBasedAliasAnalysisPass());
addPass(createBasicAliasAnalysisPass());
- // @LOCALMOD-START
- addPass(createNaClCcRewritePass(TM->getTargetLowering()));
- // TODO: consider adding a cleanup pass, e.g. constant propagation
- // Note: we run this before the verfier step because it may cause
- // a *temporary* inconsistency:
- // A function may have been rewritting before we are rewriting
- // its callers - which would lead to a parameter mismatch complaint
- // from the verifier.
- // @LOCALMOD-END
-
// Before running any passes, run the verifier to determine if the input
// coming from the front-end and/or optimizer is valid.
if (!DisableVerify)