Rename stackprotector_create intrinsic to stackprotector.
[oota-llvm.git] / lib / CodeGen / StackProtector.cpp
index 8fe6529ef44894033c658802169ec6d1baa4b359..5a129c0d9d182930f5f9a108c0dd0b71666e216b 100644 (file)
@@ -159,7 +159,7 @@ bool StackProtector::InsertStackProtectors() {
 
       Value *Args[] = { LI, AI };
       CallInst::
-        Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector_create),
+        Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector),
                &Args[0], array_endof(Args), "", InsPt);
 
       // Create the basic block to jump to when the guard check fails.