pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
115 stars 71 forks source link

Removing duplicated code #857

Open jordanmontt opened 1 month ago

jordanmontt commented 1 month ago

Moved #moveFramesIn:through:toPage: method to the super class and added hook methods to specialize in the subclasses (#defaultCallerSavedIP, #getCallerIPFromFP:callerFP:). Moved #genPushRegisterArgsForAbortMissNumArgs: to the new super class CogX86Compiler. Moved #changeClassOf:to: method to the super class and rewrote it in terms of the word size. Added a new test class VMPrimitiveChangeClassParametrizedTest

jordanmontt commented 1 month ago

Done in the Vm Dojo with @PalumboN @guillep @fouziray @iglosiggio @FedeLoch