Skip to content

Commit 45c0553

Browse files
committed
Updated bytecode
1 parent 54b0bba commit 45c0553

10 files changed

+5999
-6024
lines changed

lib/Runtime/Library/EngineInterfaceObjectBuiltIns.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ GlobalBuiltIn(JavascriptString, Substring)
9090
GlobalBuiltIn(JavascriptString, Repeat)
9191
GlobalBuiltIn(JavascriptString, IndexOf)
9292

93-
GlobalBuiltIn(JavascriptNumber, IsNaN)
94-
9593
GlobalBuiltIn(GlobalObject, IsFinite) // TODO(jahorto): consider switching to Number.isFinite
9694
GlobalBuiltIn(GlobalObject, IsNaN) // TODO(jahorto): consider switching to Number.isNaN
9795
GlobalBuiltIn(GlobalObject, Eval) // TODO(jahorto): consider deleting (currently used by WinRT Promises)

lib/Runtime/Library/InJavascript/Intl.js.bc.32b.h

Lines changed: 774 additions & 774 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.bc.64b.h

Lines changed: 776 additions & 776 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.32b.h

Lines changed: 779 additions & 779 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.64b.h

Lines changed: 761 additions & 761 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
__chakraLibrary.raiseFunctionArgument_NeedFunction = platform.raiseFunctionArgument_NeedFunction;
3535
__chakraLibrary.functionBind = platform.builtInJavascriptFunctionEntryBind;
3636
__chakraLibrary.objectDefineProperty = _objectDefineProperty;
37-
__chakraLibrary.isNaN = platform.builtInJavascriptNumberEntryIsNaN;
3837

3938
_objectDefineProperty(__chakraLibrary.ArrayIterator.prototype, 'next',
4039
// Object's getter and setter can get overriden on the prototype, in that case while setting the value attributes, we will end up with TypeError
@@ -492,7 +491,7 @@
492491
//Let elementK be the result of ? Get(O, ! ToString(k)).
493492
let elementK = o[k];
494493
//If SameValueZero(searchElement, elementK) is true, return true.
495-
if ((searchElement === elementK) || (__chakraLibrary.isNaN(searchElement) && __chakraLibrary.isNaN(elementK))) {
494+
if ((searchElement === elementK) || (searchElement !== searchElement && elementK !== elementK)) { // check for isNaN
496495
return true;
497496
}
498497
//Increase k by 1.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.32b.h

Lines changed: 761 additions & 767 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.64b.h

Lines changed: 761 additions & 767 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.nojit.bc.32b.h

Lines changed: 693 additions & 698 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.nojit.bc.64b.h

Lines changed: 693 additions & 698 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)