Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute quick primitives using primitive table entries in StackVM #696

Open
wants to merge 7 commits into
base: pharo-12
Choose a base branch
from

Conversation

hernanmd
Copy link
Collaborator

This PR modifies the primitive table to enable quick primitive methods to be executed in the Stack VM conforming to the standard execution of primitives, and replacing the need to use executeQuickPrimitive method testing for multiple primitive numbers. So it makes the logic more consistent with primitive execution.

Add a basic set of tests which verifies the state of the execution stack before and after the usage of quick primitives.

Hernán Morales Durand added 3 commits September 19, 2023 15:19
Update primitive execution method for Stack vm.
Add basic tests
…into a C constant: #(#primitivePushTrue #primitivePushFalse #primitivePushNil #primitivePushMinusOne #primitivePushZero #primitivePushOne #primitivePushTwo)
@hernanmd hernanmd self-assigned this Sep 19, 2023
hernanmd and others added 4 commits September 19, 2023 15:44
Update method with correct answer for primitive function pointers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant