mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE
This commit is contained in:
parent
aa4bfb51f7
commit
56a76010df
@ -26,7 +26,7 @@ extern PRLogModuleInfo* GetDataChannelLog();
|
||||
#include "nsDOMClassInfo.h"
|
||||
#include "nsDOMEventTargetHelper.h"
|
||||
|
||||
#include "jsval.h"
|
||||
#include "js/Value.h"
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsAutoPtr.h"
|
||||
|
@ -72,12 +72,12 @@ mozilla.prettyprinters.clear_module_printers(__name__)
|
||||
#
|
||||
# In detail:
|
||||
#
|
||||
# - jsval (jsapi.h) is a typedef for JS::Value.
|
||||
# - jsval (Value.h) is a typedef for JS::Value.
|
||||
#
|
||||
# - JS::Value (jsapi.h) is a class with a lot of methods and a single data
|
||||
# - JS::Value (Value.h) is a class with a lot of methods and a single data
|
||||
# member, of type jsval_layout.
|
||||
#
|
||||
# - jsval_layout (jsval.h) is a helper type for picking apart values. This
|
||||
# - jsval_layout (Value.h) is a helper type for picking apart values. This
|
||||
# is always 64 bits long, with a variant for each address size (32 bits
|
||||
# or 64 bits) and endianness (little- or big-endian).
|
||||
#
|
||||
|
@ -1028,7 +1028,7 @@ js::InitRuntimeNumberState(JSRuntime *rt)
|
||||
|
||||
/*
|
||||
* Our NaN must be one particular canonical value, because we rely on NaN
|
||||
* encoding for our value representation. See jsval.h.
|
||||
* encoding for our value representation. See Value.h.
|
||||
*/
|
||||
d = MOZ_DOUBLE_SPECIFIC_NaN(0, 0x8000000000000ULL);
|
||||
number_constants[NC_NaN].dval = js_NaN = d;
|
||||
|
Loading…
Reference in New Issue
Block a user