Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE

This commit is contained in:
Jeff Walden 2013-02-05 16:13:24 -08:00
parent aa4bfb51f7
commit 56a76010df
3 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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).
#

View File

@ -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;