diff options
| author | Bill Wendling <isanbard@gmail.com> | 2008-11-18 11:01:33 +0000 | 
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2008-11-18 11:01:33 +0000 | 
| commit | 13020d22da26c1f14f2d91ba5859b81384950c15 (patch) | |
| tree | eeeb1ce33a26827bcd83e7500204704dadb015b0 /llvm/lib | |
| parent | cf194e9a27eb8ff3f44a5e2339bb4e67514408e9 (diff) | |
| download | bcm5719-llvm-13020d22da26c1f14f2d91ba5859b81384950c15.tar.gz bcm5719-llvm-13020d22da26c1f14f2d91ba5859b81384950c15.zip  | |
Rename stackprotector_create intrinsic to stackprotector.
llvm-svn: 59519
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/StackProtector.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 140b8567036..c92917d735f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -4019,7 +4019,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {      DAG.setRoot(DAG.getNode(ISD::STACKRESTORE, MVT::Other, getRoot(), Tmp));      return 0;    } -  case Intrinsic::stackprotector_create: { +  case Intrinsic::stackprotector: {      // Emit code into the DAG to store the stack guard onto the stack.      MachineFunction &MF = DAG.getMachineFunction();      MachineFrameInfo *MFI = MF.getFrameInfo(); diff --git a/llvm/lib/CodeGen/StackProtector.cpp b/llvm/lib/CodeGen/StackProtector.cpp index 8fe6529ef44..5a129c0d9d1 100644 --- a/llvm/lib/CodeGen/StackProtector.cpp +++ b/llvm/lib/CodeGen/StackProtector.cpp @@ -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.  | 

