Skip to content

Un-recursify OptimizeInstructions::optimizeAddedConstants#2157

Merged
kripken merged 2 commits intomasterfrom
unrec
Jun 1, 2019
Merged

Un-recursify OptimizeInstructions::optimizeAddedConstants#2157
kripken merged 2 commits intomasterfrom
unrec

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Jun 1, 2019

This helps avoid issues with smaller stack sizes on some OSes.

Should fix the last Mac test failure on emscripten-releases CI (other.test_js_function_names_are_minified, which happens to have massively-nested additions of constants).

@kripken kripken requested a review from dschuff June 1, 2019 00:13

struct SeekState {
Expression* curr;
int mul;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is pre-existing, but is 'mul' short for 'multiplier'? Could we maybe spend a few of our 80 columns and spell it out?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, it makes more sense if you expand and read the function comment. either way.

@kripken kripken merged commit c0fba4a into master Jun 1, 2019
@kripken kripken deleted the unrec branch June 1, 2019 02:57
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.

2 participants