Skip to content

Commit

Permalink
Add special sends to translation
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Apr 27, 2023
1 parent 5d0130f commit 356931e
Show file tree
Hide file tree
Showing 3 changed files with 1,114 additions and 382 deletions.
12 changes: 6 additions & 6 deletions smalltalksrc/VMMaker/CoInterpreter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1125,17 +1125,17 @@ CoInterpreter >> bytecodePCFor: theIP cogMethod: cogMethod startBcpc: startBcpc
{ #category : #'common selector sends' }
CoInterpreter >> bytecodePrimAt [
"Override to eliminate the atCache, something of little benefit to the JIT."
messageSelector := self specialSelector: 16.
argumentCount := 1.
self normalSend

<compilationInfo: #isMapped>
self normalSendSpecialSelector: 16 argumentCount: 1
]

{ #category : #'common selector sends' }
CoInterpreter >> bytecodePrimAtPut [
"Override to eliminate the atCache, something of little benefit to the JIT."
messageSelector := self specialSelector: 17.
argumentCount := 2.
self normalSend
<compilationInfo: #isMapped>

self normalSendSpecialSelector: 17 argumentCount: 2
]

{ #category : #enilopmarts }
Expand Down

0 comments on commit 356931e

Please sign in to comment.