Bug 899652 - use JS::UndefinedValue instead of JSVAL_VOID to encourage constexpr-ness; r=bz

This commit is contained in:
Nathan Froyd 2013-07-29 16:32:44 -04:00
parent 5556c6ac4c
commit 6da0f7cba7

View File

@ -1588,7 +1588,7 @@ class ConstDefiner(PropertyDefiner):
return self.generatePrefableArray(
array, name,
' { "%s", %s }',
' { 0, JSVAL_VOID }',
' { 0, JS::UndefinedValue() }',
'ConstantSpec',
PropertyDefiner.getControllingCondition, specData, doIdArrays)