stevehalliwell / ulox

A bytecode interpreted scripting language for games in Unity.
MIT License
23 stars 0 forks source link

Subsequent label #232

Closed stevehalliwell closed 6 months ago

stevehalliwell commented 6 months ago

When compiling, if we are requesting to insert a label immediately after a existing label, just return the previous label id. Makes our optimisers job a bit easier and should be trivial to identify, like duplicate pops are