Skip to content

Commit

Permalink
Updated bytecode
Browse files Browse the repository at this point in the history
  • Loading branch information
yullin-ms committed Oct 4, 2018
1 parent 54b0bba commit 45c0553
Show file tree
Hide file tree
Showing 10 changed files with 5,999 additions and 6,024 deletions.
2 changes: 0 additions & 2 deletions lib/Runtime/Library/EngineInterfaceObjectBuiltIns.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ GlobalBuiltIn(JavascriptString, Substring)
GlobalBuiltIn(JavascriptString, Repeat)
GlobalBuiltIn(JavascriptString, IndexOf)

GlobalBuiltIn(JavascriptNumber, IsNaN)

GlobalBuiltIn(GlobalObject, IsFinite) // TODO(jahorto): consider switching to Number.isFinite
GlobalBuiltIn(GlobalObject, IsNaN) // TODO(jahorto): consider switching to Number.isNaN
GlobalBuiltIn(GlobalObject, Eval) // TODO(jahorto): consider deleting (currently used by WinRT Promises)
Expand Down
1,548 changes: 774 additions & 774 deletions lib/Runtime/Library/InJavascript/Intl.js.bc.32b.h

Large diffs are not rendered by default.

1,552 changes: 776 additions & 776 deletions lib/Runtime/Library/InJavascript/Intl.js.bc.64b.h

Large diffs are not rendered by default.

1,558 changes: 779 additions & 779 deletions lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.32b.h

Large diffs are not rendered by default.

1,522 changes: 761 additions & 761 deletions lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.64b.h

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
__chakraLibrary.raiseFunctionArgument_NeedFunction = platform.raiseFunctionArgument_NeedFunction;
__chakraLibrary.functionBind = platform.builtInJavascriptFunctionEntryBind;
__chakraLibrary.objectDefineProperty = _objectDefineProperty;
__chakraLibrary.isNaN = platform.builtInJavascriptNumberEntryIsNaN;

_objectDefineProperty(__chakraLibrary.ArrayIterator.prototype, 'next',
// 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
Expand Down Expand Up @@ -492,7 +491,7 @@
//Let elementK be the result of ? Get(O, ! ToString(k)).
let elementK = o[k];
//If SameValueZero(searchElement, elementK) is true, return true.
if ((searchElement === elementK) || (__chakraLibrary.isNaN(searchElement) && __chakraLibrary.isNaN(elementK))) {
if ((searchElement === elementK) || (searchElement !== searchElement && elementK !== elementK)) { // check for isNaN
return true;
}
//Increase k by 1.
Expand Down
1,528 changes: 761 additions & 767 deletions lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.32b.h

Large diffs are not rendered by default.

1,528 changes: 761 additions & 767 deletions lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.64b.h

Large diffs are not rendered by default.

1,391 changes: 693 additions & 698 deletions lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.nojit.bc.32b.h

Large diffs are not rendered by default.

1,391 changes: 693 additions & 698 deletions lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.nojit.bc.64b.h

Large diffs are not rendered by default.

0 comments on commit 45c0553

Please sign in to comment.