Make InitRuntimeNumberState's return type reflect its infallible nature.

This commit is contained in:
wolfbeast 2018-05-04 22:02:48 +02:00 committed by Roy Tam
commit e3e1be66db
3 changed files with 3 additions and 9 deletions

View file

@ -991,14 +991,10 @@ js::FIX_FPU()
#endif
}
bool
void
js::InitRuntimeNumberState(JSRuntime* rt)
{
FIX_FPU();
// XXX EXPOSE_INTL_API has become true all the time, meaning this is
// no longer fallible, and we should change its return type.
return true;
}
JSObject*