diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-04 22:51:24 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-04 22:51:24 +0000 |
commit | b7c2c1246f10972d5a8f55499226872608eb10f9 (patch) | |
tree | 49a98464696bc8346153399ac199678be10758fe /lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | f1f75b1bd12d6badad382f473929a4b744010e2f (diff) |
- Add a "getOrInsertGlobal" method to the Module class. This acts similarly to
"getOrInsertFunction" in that it either adds a new declaration of the global
and returns it, or returns the current one -- optionally casting it to the
correct type.
- Use the new getOrInsertGlobal in the stack protector code.
- Use "splitBasicBlock" in the stack protector code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions