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

Unified Diff: include/llvm/Transforms/NaCl.h

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: Address Eli's review comments 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: include/llvm/Transforms/NaCl.h
diff --git a/include/llvm/Transforms/NaCl.h b/include/llvm/Transforms/NaCl.h
index b2c012f08d18ddd4a934b22f119a39f0986940b1..f465953affc1a8916c2b4f8da4ed86136cf973db 100644
--- a/include/llvm/Transforms/NaCl.h
+++ b/include/llvm/Transforms/NaCl.h
@@ -29,6 +29,7 @@ ModulePass *createExpandVarArgsPass();
ModulePass *createFlattenGlobalsPass();
ModulePass *createGlobalCleanupPass();
FunctionPass *createPromoteIntegersPass();
+ModulePass *createReplacePtrsWithIntsPass();
ModulePass *createResolveAliasesPass();
ModulePass *createRewritePNaClLibraryCallsPass();
ModulePass *createStripMetadataPass();
@@ -37,6 +38,9 @@ FunctionPass *createInsertDivideCheckPass();
Instruction *PhiSafeInsertPt(Use *U);
void PhiSafeReplaceUses(Use *U, Value *NewVal);
+// Copy debug information from Original to NewInst.
eliben 2013/05/22 16:08:02 Maybe "Return NewInst with debug information copie
Mark Seaborn 2013/05/22 18:29:14 "Return NewInst with" sounds a little bit like it
+Instruction *CopyDebug(Instruction *NewInst, Instruction *Original);
+
}
#endif

Powered by Google App Engine
This is Rietveld 408576698