Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: tools/opt/opt.cpp

Issue 120773002: PNaCl: Implement computed gotos (indirectbr) by expanding out to switches (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Cleanup Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/opt/opt.cpp
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index f13ba04229d0ca8348c4aeeaa0f476c4b55e18cb..3ece0e11327bb96e4e6d52d62fee96f0a25289cc 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -619,6 +619,7 @@ int main(int argc, char **argv) {
initializeExpandConstantExprPass(Registry);
initializeExpandCtorsPass(Registry);
initializeExpandGetElementPtrPass(Registry);
+ initializeExpandIndirectBrPass(Registry);
initializeExpandSmallArgumentsPass(Registry);
initializeExpandStructRegsPass(Registry);
initializeExpandTlsConstantExprPass(Registry);
« lib/Transforms/NaCl/ExpandIndirectBr.cpp ('K') | « test/Transforms/NaCl/expand-indirectbr.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698