Skip to content

Conversation

@rhuanjl
Copy link
Collaborator

@rhuanjl rhuanjl commented Jan 22, 2022

This was a simple incorrect FailFast the existing logic accounted for v = v + x or v = v - x for any integer x except for 0 - adjusted to allow for 0.

The existing logic falsely saw the optimised code produced from v = v + 0 in the increment section of a loop control as invalid code hence aborted.

Fixes #6763

@rhuanjl
Copy link
Collaborator Author

rhuanjl commented Jan 22, 2022

@ppenzin this one was very easy (sorry I've been mostly inactive for a while - will see if I can try and do a bit each week but life has got busier...)

@ppenzin
Copy link
Member

ppenzin commented Jan 31, 2022

I got really busy too. I think I will have more time in the next months and a half, hopefully we can get some things done :)

@ppenzin ppenzin merged commit 41ad58a into chakra-core:master Jan 31, 2022
@rhuanjl rhuanjl deleted the loopIncr0 branch January 31, 2022 08:54
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.

Running out of memory when creating constants in a loop

2 participants