mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
[stackprotector] Removed stale TODO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
c149fbbe27
commit
47d6e07a9b
1 file changed
+3
-6
@@ -397,8 +397,6 @@ bool StackProtector::InsertStackProtectors() {
|
|||||||
StackGuardVar);
|
StackGuardVar);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Put in check here if platform supports the stack protector check
|
|
||||||
// intrinsic.
|
|
||||||
if (EnableSelectionDAGSP && !TM->Options.EnableFastISel &&
|
if (EnableSelectionDAGSP && !TM->Options.EnableFastISel &&
|
||||||
SupportsSelectionDAGSP) {
|
SupportsSelectionDAGSP) {
|
||||||
// Since we have a potential tail call, insert the special stack check
|
// Since we have a potential tail call, insert the special stack check
|
||||||
@@ -420,10 +418,9 @@ bool StackProtector::InsertStackProtectors() {
|
|||||||
CallInst::Create(Intrinsic, Args, "", InsertionPt);
|
CallInst::Create(Intrinsic, Args, "", InsertionPt);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// If we do not have a potential tail call or our platform does not
|
// If we do not support SelectionDAG based tail calls, generate IR level
|
||||||
// support lowering the stack protector check pseudo node, perform the IR
|
// tail calls.
|
||||||
// level stack check.
|
//
|
||||||
|
|
||||||
// For each block with a return instruction, convert this:
|
// For each block with a return instruction, convert this:
|
||||||
//
|
//
|
||||||
// return:
|
// return:
|
||||||
|
|||||||
Reference in new issue
Block a user