pharo-project / pharo-vm

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

Unused temp in `findNewMethodOrdinaryIfFound:` #820

Open guillep opened 5 days ago

guillep commented 5 days ago
"message sending"
findNewMethodOrdinaryIfFound: aBlock
    "Find the compiled method to be run when the current messageSelector is sent to the class 'lkupClass', setting the values of 'newMethod' and 'primitiveIndex'."

    | classTag |
    classTag := lkupClassTag.
    ^ self findNewMethodInClassTag: lkupClassTag ifFound: aBlock