summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-27 19:58:00 -0700
committerYamaArashi <shadow962@live.com>2016-04-27 19:58:00 -0700
commit981039a7fc49438e74ecaa880fd54cb85431e6ce (patch)
treeae09fe7e46843a63d690bef20ee28600aeeb6fb1 /gcc/integrate.c
parent4f3e13d6663d4865437a18b98078c23713454613 (diff)
ARG_POINTER_REGNUM / FRAME_POINTER_REGNUM comparisons
Diffstat (limited to 'gcc/integrate.c')
-rwxr-xr-xgcc/integrate.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 484bf8c..dba5e64 100755
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1218,22 +1218,6 @@ copy_for_inline (orig)
}
break;
-#if 0 /* This is a good idea, but here is the wrong place for it. */
- /* Arrange that CONST_INTs always appear as the second operand
- if they appear, and that `frame_pointer_rtx' or `arg_pointer_rtx'
- always appear as the first. */
- case PLUS:
- if (GET_CODE (XEXP (x, 0)) == CONST_INT
- || (XEXP (x, 1) == frame_pointer_rtx
- || (ARG_POINTER_REGNUM != FRAME_POINTER_REGNUM
- && XEXP (x, 1) == arg_pointer_rtx)))
- {
- rtx t = XEXP (x, 0);
- XEXP (x, 0) = XEXP (x, 1);
- XEXP (x, 1) = t;
- }
- break;
-#endif
default:
break;
}