py, vm: Where possible, make variables local to each opcode.

This helps the compiler do its optimisation, makes it clear which
variables are local per opcode and which global, and makes it consistent
when extra variables are needed in an opcode (in addition to old obj1,
obj2 pair, for example).

Could also make unum local, but that's for another time.
This commit is contained in:
Damien George
2014-05-25 22:58:04 +01:00
parent f600a6a085
commit d8675541a9
+127 -102
View File
File diff suppressed because it is too large Load Diff