Skip to content
Snippets Groups Projects
Commit 6e755445 authored by Prakalp Srivastava's avatar Prakalp Srivastava
Browse files

Revert "Cannot use nullptr in previous commit. Replaced with 0"

This reverts commit 8938b17c.
parent 8938b17c
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) {
// parameters. Frontends encode that classification at the call site in the
// IR, while in the callee the classification is determined dynamically
// on the number of registers consumed so far.
if (F->isVarArg()) return 0;
if (F->isVarArg()) return nullptr;
// First check: see if there are any pointer arguments! If not, quick exit.
SmallVector<std::pair<Argument*, unsigned>, 16> PointerArgs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment