3 ms·
Isn't bytecode essentially a machine language for a simplified VM? Why would it be more transformable than a tree?
by fouc 7y ago
Isn't bytecode essentially a machine language for a simplified VM? Why would it be more transformable than a tree?
- pizlonator 7y agoBecause it’s not a tree. Compiler IRs tend to have the property that operands are not themselves expressions; they can only be variables or maybe constants. That makes it easy to identify sequence points, which makes it easier to insert code or reshape the control flow graph.