mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-02 12:37:31 +09:00
Make InitRuntimeNumberState's return type reflect its infallible nature.
This commit is contained in:
parent
8e9e42c7d8
commit
e3e1be66db
3 changed files with 3 additions and 9 deletions
|
|
@ -325,8 +325,7 @@ JSRuntime::init(uint32_t maxbytes, uint32_t maxNurseryBytes)
|
|||
/* The garbage collector depends on everything before this point being initialized. */
|
||||
gcInitialized = true;
|
||||
|
||||
if (!InitRuntimeNumberState(this))
|
||||
return false;
|
||||
InitRuntimeNumberState(this);
|
||||
|
||||
JS::ResetTimeZone();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue