Bug 765180 - Fix an overzealous assert. r=dvander

This commit is contained in:
Jan de Mooij 2012-06-19 17:53:58 +02:00
parent 2a2f5b06c9
commit 5067b26960

View File

@ -2679,7 +2679,7 @@ IonBuilder::jsop_pos()
TypeOracle::Unary types = oracle->unaryOp(script, pc);
if (IsNumberType(types.ival)) {
// Already int32 or double.
JS_ASSERT(types.ival == types.rval);
JS_ASSERT(IsNumberType(types.rval));
return true;
}