typelead / etlas

Etlas, the build tool and package manager for the Eta programming language
63 stars 10 forks source link

loopification: #866 in eta #71

Closed shirouto closed 6 years ago

shirouto commented 6 years ago

As part of the pull request for addressing eta: #866.

Since etlas repl by default removes all optimizations, I had to patch etlas itself too. This way the user can still turn off loopification if desired.

rahulmutt commented 6 years ago

@shirouto Thanks for the PR! Would it not have been easier to just patch eta to enable -floopification even on -O0?

rahulmutt commented 6 years ago

Ok saw that you made a patch for Eta. I'm not sure that this change is required if we guarantee that -floopification is turned on for -O0.

shirouto commented 6 years ago

I will close this since we decided to go for add -floopification to -O0