Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Delete "break"s and "return"s after the m...
details: https://anonhg.NetBSD.org/src/rev/c9838f5fa6d2
branches: trunk
changeset: 517230:c9838f5fa6d2
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Nov 09 00:38:57 2001 +0000
description:
Delete "break"s and "return"s after the math_abort() macro, which itself
finishes with a "return".
diffstat:
sys/arch/i386/i386/math_emulate.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 12997a1e7618 -r c9838f5fa6d2 sys/arch/i386/i386/math_emulate.c
--- a/sys/arch/i386/i386/math_emulate.c Fri Nov 09 00:34:34 2001 +0000
+++ b/sys/arch/i386/i386/math_emulate.c Fri Nov 09 00:38:57 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: math_emulate.c,v 1.22 2001/08/03 00:41:46 thorpej Exp $ */
+/* $NetBSD: math_emulate.c,v 1.23 2001/11/09 00:38:57 simonb Exp $ */
/*
* expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj
@@ -113,7 +113,6 @@
switch (prefix) {
case INSPREF_LOCK:
math_abort(info, SIGILL);
- break;
case INSPREF_REPN:
case INSPREF_REPE:
break;
@@ -133,7 +132,6 @@
break;
case -1:
math_abort(info,SIGSEGV);
- break;
default:
goto done;
}
@@ -373,8 +371,6 @@
case 0xf8: /* XXX */
printf("ffree not implemented\n\r");
math_abort(info,SIGILL);
- fpop();
- return(0);
case 0xf9: /* XXX */
fxchg(&ST(0),&ST(code & 7));
return(0);
Home |
Main Index |
Thread Index |
Old Index