-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support for handling primitives/builtin functions, and language settings #1
Commits on Aug 18, 2017
-
Support for handling primitives/builtin functions
This adds basic infrastructure to use annotations to handle primitives in Truffle languages. It supports parse-time and eager run-time specialization. During specialization, the normal method call can be replaced with a specific operation. This means, there is no overhead for a method call anymore in the interpreter. Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for b521aa8 - Browse repository at this point
Copy the full SHA b521aa8View commit details -
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 570d1a4 - Browse repository at this point
Copy the full SHA 570d1a4View commit details -
Remove requires source section and eager wrapping from config
These config options aren’t necessary anymore. We are going to deal with these two options via an initializer method. Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 1e53042 - Browse repository at this point
Copy the full SHA 1e53042View commit details -
Added interface for eager primitives and specializable nodes
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 0af069a - Browse repository at this point
Copy the full SHA 0af069aView commit details -
Added PreevaluatedExpression interface to simplify specialization
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 48970b3 - Browse repository at this point
Copy the full SHA 48970b3View commit details -
Added WithContext interface for nodes
Nodes might need access to the langauge’s state or behavior, which is available via a ‘context’ object. Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for be034bb - Browse repository at this point
Copy the full SHA be034bbView commit details -
Don’t need to declare context in @primitive anymore
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 9526342 - Browse repository at this point
Copy the full SHA 9526342View commit details -
Adapt Specializer to rely on new interfaces
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for fd4ca2b - Browse repository at this point
Copy the full SHA fd4ca2bView commit details -
Added Operation interface, used by tools like DynamicMetrics
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 9199e06 - Browse repository at this point
Copy the full SHA 9199e06View commit details -
Add PrimitiveLoader initialization, avoid exposing low-level helpers
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for ae762cb - Browse repository at this point
Copy the full SHA ae762cbView commit details -
Added basic tests for PrimitiveLoader
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for 05ea3a3 - Browse repository at this point
Copy the full SHA 05ea3a3View commit details -
Use Class.forName instead of class loader
Class loader seems to be null on the bootclasspath Signed-off-by: Stefan Marr <git@stefan-marr.de>
Configuration menu - View commit details
-
Copy full SHA for a7409f6 - Browse repository at this point
Copy the full SHA a7409f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f997d9c - Browse repository at this point
Copy the full SHA f997d9cView commit details