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

Unified Diff: tools/opt/opt.cpp

Issue 14262011: PNaCl: Add ReplacePtrsWithInts pass for stripping out pointer types (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Fix alloca alignment Created 7 years, 7 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 15c3eac3662d851ce33c8216b8600d991e39fa3c..fbacdfc63de296954e9c6f93301de355cdbe1767 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -590,6 +590,7 @@ int main(int argc, char **argv) {
initializePNaClABIVerifyFunctionsPass(Registry);
initializePNaClABIVerifyModulePass(Registry);
initializePromoteIntegersPass(Registry);
+ initializeReplacePtrsWithIntsPass(Registry);
initializeResolveAliasesPass(Registry);
initializeRewritePNaClLibraryCallsPass(Registry);
initializeStripMetadataPass(Registry);
« lib/Transforms/NaCl/ReplacePtrsWithInts.cpp ('K') | « test/Transforms/NaCl/replace-ptrs-with-ints.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698