-
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
Adding supernodes #185
base: master
Are you sure you want to change the base?
Adding supernodes #185
Commits on Apr 23, 2023
-
Add specialized n-ary send nodes that send to an argument
The most common version of this is sending to self. Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7fbb14 - Browse repository at this point
Copy the full SHA f7fbb14View commit details -
Implement IntIncrementNode and needed field access/storage support
This also adds the support in the bytecode interpreter (this is mostly incidental, since I had to remove it completely, too) Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 741fc3c - Browse repository at this point
Copy the full SHA 741fc3cView commit details -
Generalize the IncOperationNode to arbitary values
- also supports `-` as operator in parser - add tests - add fallback support Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9377f1d - Browse repository at this point
Copy the full SHA 9377f1dView commit details -
Rename field to more consistent and explicit incValue
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51e9a6a - Browse repository at this point
Copy the full SHA 51e9a6aView commit details -
Added LocalVariableIncNode and NonLocalVariableIncNode
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a2483c - Browse repository at this point
Copy the full SHA 9a2483cView commit details -
Add AssignLocalSquareToLocalNode
Cherry-picked from supernodes branch
Configuration menu - View commit details
-
Copy full SHA for 9931e1a - Browse repository at this point
Copy the full SHA 9931e1aView commit details -
Added initial tests, the todo list
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6526cc6 - Browse repository at this point
Copy the full SHA 6526cc6View commit details -
Added [Non]LocalVariableSquareNode
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89377b2 - Browse repository at this point
Copy the full SHA 89377b2View commit details -
Add [Non]LocalVariableReadSquareWriteNode
- do specialization in the parser to do it as early as possible - remove AssignLocalSquareToLocalNode which is the run-time specialization version Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e72ba5b - Browse repository at this point
Copy the full SHA e72ba5bView commit details -
Add StringEqualsNode, which is used for
expr = 'str'
, i.e. literal ……string comparions. For the nil case in the string comparison, we store `nil` in a local static field to avoid type restrictions of the DSL. Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd3d369 - Browse repository at this point
Copy the full SHA bd3d369View commit details -
Add [Non]LocalFieldStringEqualsNode
This node inlines the argument and field reading and does the string equal. There's theoretical an early abort for non-object fields. Though, we don't have those in our benchmarks. Well, perhaps uninitialized fields. Though, the structure of the lookup, and caching makes that tricky. Not sure it's worth optimizing that. Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 107c989 - Browse repository at this point
Copy the full SHA 107c989View commit details -
Adapt to use createGenericBinary
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57b868f - Browse repository at this point
Copy the full SHA 57b868fView commit details -
Move all supernodes to same package
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9a6922 - Browse repository at this point
Copy the full SHA e9a6922View commit details -
Restructure the Increment super nodes to support field increment with…
… some other expression Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 348f90a - Browse repository at this point
Copy the full SHA 348f90aView commit details -
Add fallback code for UninitIncFieldNode, SomSom needs it...
SomSom's parser also has `text := text + self currentChar.` where `text` is a field in the lexer. Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e004bea - Browse repository at this point
Copy the full SHA e004beaView commit details -
Rename increment nodes for variables that use an int constant
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19bb759 - Browse repository at this point
Copy the full SHA 19bb759View commit details -
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f15d40b - Browse repository at this point
Copy the full SHA f15d40bView commit details -
Fix test regression after Invokable changes being merged in
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87d590c - Browse repository at this point
Copy the full SHA 87d590cView commit details -
Adapt to use of frame slot index instead of FrameSlot
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8192c97 - Browse repository at this point
Copy the full SHA 8192c97View commit details -
Merge PR #144: Update Truffle and MX, and rename bd package to bdt
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d95dde2 - Browse repository at this point
Copy the full SHA d95dde2View commit details -
Add super node for
local := local foo
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9215df5 - Browse repository at this point
Copy the full SHA 9215df5View commit details -
Add supernode for
isNil ifTrue:
sequenceSigned-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00f29ba - Browse repository at this point
Copy the full SHA 00f29baView commit details -
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a55017a - Browse repository at this point
Copy the full SHA a55017aView commit details -
Add GreaterThanIntNode, LessThanIntNode, and LocalArgLessThanInt
Signed-off-by: Stefan Marr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e532691 - Browse repository at this point
Copy the full SHA e532691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f450f - Browse repository at this point
Copy the full SHA 92f450fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72626a1 - Browse repository at this point
Copy the full SHA 72626a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3223c68 - Browse repository at this point
Copy the full SHA 3223c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7d9b2f - Browse repository at this point
Copy the full SHA a7d9b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2186057 - Browse repository at this point
Copy the full SHA 2186057View commit details -
Configuration menu - View commit details
-
Copy full SHA for 450fcf7 - Browse repository at this point
Copy the full SHA 450fcf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96d677 - Browse repository at this point
Copy the full SHA d96d677View commit details -
The read+write square nodes may access locals in different lexical co…
…ntexts… Make sure we track the context correctly for each variable. Add a specialization that fetches the context only once if possible.
Configuration menu - View commit details
-
Copy full SHA for 853f0c9 - Browse repository at this point
Copy the full SHA 853f0c9View commit details
Commits on Apr 24, 2023
-
Initialize separte test context for each test class
This avoids issues in Eclipse with the SomTests interferring with the context of TruffleTestSetup
Configuration menu - View commit details
-
Copy full SHA for c10025b - Browse repository at this point
Copy the full SHA c10025bView commit details -
Remove redundant transferToInterpreterAndInvalidate()
Should be ensured in the caller.
Configuration menu - View commit details
-
Copy full SHA for 87ca852 - Browse repository at this point
Copy the full SHA 87ca852View commit details -
Configuration menu - View commit details
-
Copy full SHA for fecb6b1 - Browse repository at this point
Copy the full SHA fecb6b1View commit details -
Keep child nodes only in AST interpreter
The BC interpreter doesn’t need them.
Configuration menu - View commit details
-
Copy full SHA for 5d3dbf6 - Browse repository at this point
Copy the full SHA 5d3dbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e2df51 - Browse repository at this point
Copy the full SHA 4e2df51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 274c0e6 - Browse repository at this point
Copy the full SHA 274c0e6View commit details