summaryrefslogtreecommitdiffstats
path: root/js/src/jsnum.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 22:02:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 22:02:48 +0200
commit891026d00551992f4c957eb20c13d65183126605 (patch)
tree6502408503a8f3b18a52b56ed53d742af9d481e6 /js/src/jsnum.cpp
parent74c62cd3373e23fe77f509373f581c33872d813d (diff)
downloadUXP-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/jsnum.cpp')
-rw-r--r--js/src/jsnum.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/src/jsnum.cpp b/js/src/jsnum.cpp
index 98d045987..28ed15159 100644
--- a/js/src/jsnum.cpp
+++ b/js/src/jsnum.cpp
@@ -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*