diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 22:02:48 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 22:02:48 +0200 |
commit | 891026d00551992f4c957eb20c13d65183126605 (patch) | |
tree | 6502408503a8f3b18a52b56ed53d742af9d481e6 /js/src/vm | |
parent | 74c62cd3373e23fe77f509373f581c33872d813d (diff) | |
download | UXP-891026d00551992f4c957eb20c13d65183126605.tar UXP-891026d00551992f4c957eb20c13d65183126605.tar.gz UXP-891026d00551992f4c957eb20c13d65183126605.tar.lz UXP-891026d00551992f4c957eb20c13d65183126605.tar.xz UXP-891026d00551992f4c957eb20c13d65183126605.zip |
Make InitRuntimeNumberState's return type reflect its infallible nature.
Diffstat (limited to 'js/src/vm')
-rw-r--r-- | js/src/vm/Runtime.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/vm/Runtime.cpp b/js/src/vm/Runtime.cpp index 0e7ce7f10..174e23594 100644 --- a/js/src/vm/Runtime.cpp +++ b/js/src/vm/Runtime.cpp @@ -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(); |