ruffle/core/src/avm2
David Wendt 090fe56bd3 Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`.
This is inspired by Dinnerbone's similar PR on the AVM1 side, where the Action half of that VM's `Executable` was reduced from 128 bytes to 16 by shoving it in a `Gc`. This won't be as dramatic but should still save some memory.

In fact, it should save a *lot* of memory in bytecode execution, where thanks to the previous commit's rebase, we now need to clone the current method once *for each instruction executed*. That is terrible, but should stop now.
2020-07-13 17:45:06 -04:00
..
globals Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
activation.rs Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`. 2020-07-13 17:45:06 -04:00
class.rs Refactor method-related structs into a separate method module. 2020-07-13 17:45:05 -04:00
function.rs Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`. 2020-07-13 17:45:06 -04:00
globals.rs Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
method.rs Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`. 2020-07-13 17:45:06 -04:00
names.rs Clippy compliance for the last batch of commits. 2020-07-13 17:45:05 -04:00
object.rs Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
property.rs Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`. 2020-07-13 17:45:06 -04:00
return_value.rs Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
scope.rs Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
script.rs Wrap `BytecodeMethod` (and the bytecode half of `Executable`) in a `Gc`. 2020-07-13 17:45:06 -04:00
script_object.rs Invert the role of `Avm2` and it's `Activation`, similar to what was done with `Avm1` and it's `Activation`. 2020-07-13 17:45:06 -04:00
slot.rs Silence this warning about occupied slots being an unused variant. 2020-07-13 17:45:00 -04:00
trait.rs Refactor method-related structs into a separate method module. 2020-07-13 17:45:05 -04:00
value.rs `NaN` is not special-cased in AS3. 2020-07-13 17:44:59 -04:00