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

Simple paper #158

Merged
merged 20 commits into from
Dec 3, 2024
Merged

Simple paper #158

merged 20 commits into from
Dec 3, 2024

Conversation

PalumboN
Copy link
Contributor

@PalumboN PalumboN commented Nov 14, 2024

Fixes to generate a first version of SimpleDruid.

  • Refactoring tests to run on SimpleDruid too
  • Moving and cleaning general tests
  • Fix LoadStackValue and LoadArgument instructions generation for n > 1

VM chenges: pharo-project/pharo-vm#869

Comment on lines +69 to +80
{ #category : #accessing }
DRStackInstruction >> replaceDependency: anOperand by: anotherOperand [

anOperand = anotherOperand ifTrue: [ ^ self ].

(self stackDependencies asArray includes: anOperand) ifTrue: [
self stackDependencies: (self stackDependencies asArray copyWithout: anOperand).
self stackDependencies add: anotherOperand.
^ self ].

super replaceDependency: anOperand by: anotherOperand
]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like to have the stack dependencies as "general dependencies" (so, at the same level that the operands, for example).

@PalumboN
Copy link
Contributor Author

Running the tests in SimpleDruid makes the CI timeouts:

Error: The action 'Load Image and Run Tests' has timed out after 30 minutes.

@PalumboN PalumboN requested a review from guillep November 15, 2024 10:59
@PalumboN
Copy link
Contributor Author

PalumboN commented Dec 3, 2024

I extended the timeout and is working (the half).
Comments where moved to issues.

I merge to continue with the next PR

@PalumboN PalumboN merged commit 050892f into main Dec 3, 2024
2 of 4 checks passed
@PalumboN PalumboN deleted the simple-paper branch December 3, 2024 11:51
@guillep
Copy link
Member

guillep commented Dec 4, 2024

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants