Fix warning for unhandled switch cases
authorDavid Mandelin <dmandelin@mozilla.com>
Wed, 04 Feb 2009 18:58:07 -0800
changeset 24845 df964bf9d58a2787941dbbbf6935fdc67a490aa5
parent 24844 e3860b27462773de8952881cf20e82782f890e21
child 24846 bee9d9de99b1222b5514314cbfd3f0109aa964e3
push idunknown
push userunknown
push dateunknown
milestone1.9.2a1pre
Fix warning for unhandled switch cases
js/src/nanojit/Nativei386.cpp
--- a/js/src/nanojit/Nativei386.cpp
+++ b/js/src/nanojit/Nativei386.cpp
@@ -1258,17 +1258,17 @@ namespace nanojit
 				case LIR_lt:	MRGE(rr, iffalsereg);	break;
 				case LIR_le:	MRG(rr, iffalsereg);	break;
 				case LIR_gt:	MRLE(rr, iffalsereg);	break;
 				case LIR_ge:	MRL(rr, iffalsereg);	break;
 				case LIR_ult:	MRAE(rr, iffalsereg);	break;
 				case LIR_ule:	MRA(rr, iffalsereg);	break;
 				case LIR_ugt:	MRBE(rr, iffalsereg);	break;
 				case LIR_uge:	MRB(rr, iffalsereg);	break;
-				debug_only( default: NanoAssert(0); break; )
+			    default: debug_only( NanoAssert(0); ) break;
 			}
 		} else if (op == LIR_qcmov) {
 #if !defined NANOJIT_64BIT
 			NanoAssert(0);
 #else
 			switch (condval->opcode())
 			{
 				// note that these are all opposites...