Chromium Code Reviews

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

Issue 14607004: Insert denominator zero checks for NaCl (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Moved to Transforms/NaCl, added opt invocation to test Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: include/llvm/Transforms/NaCl.h
diff --git a/include/llvm/Transforms/NaCl.h b/include/llvm/Transforms/NaCl.h
index ba765c1c21d388d2018826f32913fe21e3358aca..edd641e90175feb1daf44daab93147df32fdf438 100644
--- a/include/llvm/Transforms/NaCl.h
+++ b/include/llvm/Transforms/NaCl.h
@@ -30,6 +30,7 @@ ModulePass *createFlattenGlobalsPass();
ModulePass *createGlobalCleanupPass();
ModulePass *createResolveAliasesPass();
ModulePass *createStripMetadataPass();
+FunctionPass *createInsertDivideCheckPass();
Instruction *PhiSafeInsertPt(Use *U);
void PhiSafeReplaceUses(Use *U, Value *NewVal);

Powered by Google App Engine