hpi-swa / RSqueak

A Squeak/Smalltalk VM written in RPython.
BSD 3-Clause "New" or "Revised" License
83 stars 15 forks source link

RSqueak only allows to create new CompiledMethods #146

Open fniephaus opened 7 years ago

fniephaus commented 7 years ago

The NEW_METHOD primitive disregards w_class, but that seems to be wrong. On an OpenSmalltalkVM, MySubClassOfCompiledMethod new results in a MySubClassOfCompiledMethod object, in RSqueak it results in a CompiledMethod object instead.