|
From: | Mark Bratcher |
Subject: | RE: How does GNU Smalltalk build primitive selectors? |
Date: | Sat, 20 Feb 2021 17:36:53 -0500 |
Is there a simple way in the source to coax it to skip a specific operator implementation in the interpreter and let the Smalltalk implementation under kernel take effect? Sent from Mail for Windows 10 From: Paolo Bonzini Hi, some primitives are special cased and implemented directly in the byte code interpreter. You can find the implementation in vm.def. The primitives in prims.def will still be used with #perform:, for example "2 perform: #* with: 3" will invoke the VMpr_SmallInteger_times primitive in accord with the source code of the * method of SmallInteger. Paolo Il sab 20 feb 2021, 00:42 Mark Bratcher <mdbratch@gmail.com> ha scritto:
|
[Prev in Thread] | Current Thread | [Next in Thread] |