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

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: Add test for ConstantPointerNull 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 6932cb8b0ff44c344cd0792c2804d953e8598646..c6c894e0a61bbe8a16c941519b3c3aca9ae20f21 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -589,6 +589,7 @@ int main(int argc, char **argv) {
initializeInsertDivideCheckPass(Registry);
initializePNaClABIVerifyFunctionsPass(Registry);
initializePNaClABIVerifyModulePass(Registry);
+ initializeReplacePtrsWithIntsPass(Registry);
initializeResolveAliasesPass(Registry);
initializeStripMetadataPass(Registry);
// @LOCALMOD-END

Powered by Google App Engine
This is Rietveld 408576698