Skip to content

Commit

Permalink
Merge pull request #798 from RenaudFondeur/warning-unused-functions
Browse files Browse the repository at this point in the history
Do not retain any selectors in CogAbstractInstruction
  • Loading branch information
guillep authored May 13, 2024
2 parents c6623c0 + 8b4b093 commit b073bca
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions smalltalksrc/VMMaker/CogAbstractInstruction.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -288,16 +288,6 @@ CogAbstractInstruction class >> registerMaskFor: reg1 and: reg2 and: reg3 and: r
^Cogit basicNew registerMaskFor: reg1 and: reg2 and: reg3 and: reg4 and: reg5 and: reg6 and: reg7 and: reg8 and: reg9 and: reg10
]

{ #category : #translation }
CogAbstractInstruction class >> requiredMethodNames: options [
^self selectors reject:
[:s| | m |
(self isAccessor: s)
or: [((m := self compiledMethodAt: s) isQuick and: [m pragmas isEmpty])
or: [(m pragmaAt: #doNotGenerate) notNil
or: [(m pragmaAt: #inline:) notNil and: [(m pragmaAt: #inline:) arguments first == true]]]]]
]

{ #category : #verification }
CogAbstractInstruction class >> specificOpcodes [
^self subclassResponsibility
Expand Down

0 comments on commit b073bca

Please sign in to comment.