Commit 5ed3149c by Zack Weinberg Committed by Zack Weinberg

unwind-dw2.c (execute_stack_op): Add default aborts to the inner switches to prevent warnings.

	* unwind-dw2.c (execute_stack_op): Add default aborts to
	the inner switches to prevent warnings.

From-SVN: r45014
parent 20cc76d5
2001-08-18 Zack Weinberg <zackw@panix.com>
* unwind-dw2.c (execute_stack_op): Add default aborts to
the inner switches to prevent warnings.
2001-08-18 Richard Henderson <rth@redhat.com> 2001-08-18 Richard Henderson <rth@redhat.com>
* timevar.h (struct timevar_time_def): Change element type to float. * timevar.h (struct timevar_time_def): Change element type to float.
......
...@@ -563,6 +563,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, ...@@ -563,6 +563,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
op_ptr = read_uleb128 (op_ptr, &ptrtmp); reg = ptrtmp; op_ptr = read_uleb128 (op_ptr, &ptrtmp); reg = ptrtmp;
result += reg; result += reg;
break; break;
default:
abort ();
} }
break; break;
...@@ -640,6 +643,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, ...@@ -640,6 +643,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
case DW_OP_ne: case DW_OP_ne:
result = (_Unwind_Sword)first != (_Unwind_Sword)second; result = (_Unwind_Sword)first != (_Unwind_Sword)second;
break; break;
default:
abort ();
} }
} }
break; break;
......
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