Workaround to get Youtube working again
It's probably very slow though
After the opcode sequence setlocal1 9 getlocal1 inclocal 1 the head of the stack should be 9 and local1 should be 10. Before this commit both were incorrectly set to 10 because both the stack head and the register were references to the same object.
All added tests that were green in flashplayer, but red in lightspark, are now green in lightspark, too. The new implementation closely follows the specification in the class documentation of the original class, and has been ported from JooFlash, manually translating it from AS3 to C++. For the AS3 code, see https://github.com/CoreMedia/jangaroo-libs/blob/master/jooflash/src/main/joo/flash/geom/Matrix.as
translating a rotated matrix. All three are green in flashplayer, but red in lightspark.
…mparing expected and actual matrix values. There is now a line of test result output for every matrix component. If you don't like this, you may want to introduce a Tests method assertArrayEqualsDelta() and convert matrices into arrays for comparing expected and actual value.
…T player script