aristanetworks / purescript-backend-optimizer

Optimizing backend toolkit and modern ECMAScript backend for PureScript
MIT License
201 stars 18 forks source link

Changes SemExtern to SemRef and uses it for general dereffing #70

Closed mikesol closed 1 year ago

mikesol commented 1 year ago

@natefaubion I took out the let floating and left only dereffing. I added one test for variables and one test for locals, both of which don't inline the + operation on main but do inline the + operation on this branch. It's ready for review whenever you have the chance. Thanks!

mikesol commented 1 year ago

Thanks for the review! I've pushed a couple commits based on the feedback and also addressed some comments above 👍