Skip to content

17-03 ChakraCore servicing release - #2697

Merged
chakrabot merged 23 commits into
chakra-core:release/1.4from
MikeHolman:release/1703
Mar 16, 2017
Merged

17-03 ChakraCore servicing release#2697
chakrabot merged 23 commits into
chakra-core:release/1.4from
MikeHolman:release/1703

Conversation

@MikeHolman

Copy link
Copy Markdown
Contributor

tcare and others added 22 commits March 16, 2017 15:35
…en using a Symbol

When setting a property trap with JavascriptProxy::SetPropertyTrap using a symbol as a property id, we incorrectly assume that JavascriptProxy::GetName returns a PropertyString. The case for a JavascriptSymbol is unhandled, and we do a static cast leading to type confusion. Fix is to handle any cases other than PropertyString by using nullptr, as is the convention elsewhere.
…array if the bailout kind tells us to bail out on helper calls.
This change promotes several asserts to failfasts, and adds two additional ones,
in order to ensure that no post-lower opcodes are added earlier than the lowerer
phase, either by being added to the incoming bytecode buffer, or by corrupting a
part of the IR during the earlier phases of the JIT.
…ConcatSpreadable

Signed-off-by: Michael Holman <Michael.Holman@microsoft.com>
The MissingItem check is happening on the array in a loop. It is possible that we get called into script and that mutates the array. So the Array's head is newly created with length.
However the loop is still performing over the old length.
Fixed this by checking the length In IsMissingItem function.
Added a unittest.
…n param scope

In a function expression with name, where the name is captured in one
of the param scope functions, if there is a function or var declaration
with the same name as the function expression name we were marking the
function expression name as shadowed. In non-eval case this causes
issue because the name symbol won't get added to the body. This change is to
fix it in such a way if the name is captured in the param scope then we
split the param and body scope such that the name symbol is added to the
param scope not body scope.
@MikeHolman

Copy link
Copy Markdown
Contributor Author

@pleath

pleath commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

My 2 commits look good.

@akroshg

akroshg commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

LGTM.

@leirocks

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@tcare

tcare commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

LGTM

@suwc

suwc commented Mar 16, 2017

Copy link
Copy Markdown

LGTM

1 similar comment
@Cellule

Cellule commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

LGTM

@chakrabot
chakrabot merged commit cd6f65b into chakra-core:release/1.4 Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.