Commit 1a7c818b by Richard Kenner

(simplify_relational_operation): Fix typos; use

 ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.

From-SVN: r6730
parent 2cca6e3f
...@@ -4432,7 +4432,7 @@ simplify_relational_operation (code, mode, op0, op1) ...@@ -4432,7 +4432,7 @@ simplify_relational_operation (code, mode, op0, op1)
be zero, but a SYMBOL_REF can due to #pragma weak. */ be zero, but a SYMBOL_REF can due to #pragma weak. */
if (((NONZERO_BASE_PLUS_P (op0) && op1 == const0_rtx) if (((NONZERO_BASE_PLUS_P (op0) && op1 == const0_rtx)
|| GET_CODE (op0) == LABEL_REF) || GET_CODE (op0) == LABEL_REF)
#if FRAME_POINTER_REGNO != ARG_POINTGER_REGNO #if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
/* On some machines, the ap reg can be 0 sometimes. */ /* On some machines, the ap reg can be 0 sometimes. */
&& op0 != arg_pointer_rtx && op0 != arg_pointer_rtx
#endif #endif
...@@ -4443,7 +4443,7 @@ simplify_relational_operation (code, mode, op0, op1) ...@@ -4443,7 +4443,7 @@ simplify_relational_operation (code, mode, op0, op1)
case NE: case NE:
if (((NONZERO_BASE_PLUS_P (op0) && op1 == const0_rtx) if (((NONZERO_BASE_PLUS_P (op0) && op1 == const0_rtx)
|| GET_CODE (op0) == LABEL_REF) || GET_CODE (op0) == LABEL_REF)
#if FRAME_POINTER_REGNO != ARG_POINTER_REGNO #if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
&& op0 != arg_pointer_rtx && op0 != arg_pointer_rtx
#endif #endif
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment