aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index e0eb5b2a9a..0775f6a480 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -1795,7 +1795,6 @@ ARMTargetLowering::HandleByVal(
State->getCallOrPrologue() == Call) &&
"unhandled ParmContext");
-
// @LOCALMOD-BEGIN
// The original mechanism tries to split a byval argument between registers
// and the stack. It doesn't work correctly yet, so disable it.
@@ -1810,6 +1809,7 @@ ARMTargetLowering::HandleByVal(
unsigned CurByValIndex = State->getInRegsParamsProceed();
if ((CurByValIndex >= ByValArgsCount) &&
(ARM::R0 <= reg) && (reg <= ARM::R3)) {
+ errs() << "setting setHasByValInRegPosition\n";
State->setHasByValInRegPosition();
}
// Confiscate any remaining parameter registers to preclude their