-
Notifications
You must be signed in to change notification settings - Fork 6
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
Simple paper #158
Conversation
…atible with SimpleDruid
{ #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 | ||
] |
There was a problem hiding this comment.
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).
Running the tests in SimpleDruid makes the CI timeouts:
|
I extended the timeout and is working (the half). I merge to continue with the next PR |
Yes! |
Fixes to generate a first version of SimpleDruid.
LoadStackValue
andLoadArgument
instructions generation for n > 1VM chenges: pharo-project/pharo-vm#869