Skip to content
Permalink
Browse files
[Truffle] Disable DSL boxing optimisations.
These shouldn't make any different for Ruby in almost all cases, as our
operators are all method calls, so they go through the boxed method
call interface anyway. This should also reduce the size of the generated
code.
  • Loading branch information
chrisseaton committed Jan 17, 2015
1 parent eb53c1b commit f0976402558bd09e06d705d049d4b82d07719ed3
Showing 1 changed file with 6 additions and 1 deletion.
@@ -21,7 +21,12 @@
* The list of types and type conversions that the AST interpreter knows about and can specialise
* using. Used by the DSL.
*/
@DSLOptions(useNewLayout=true)
@DSLOptions(
useNewLayout = true,
monomorphicTypeBoxingOptimization = DSLOptions.TypeBoxingOptimization.NONE,
polymorphicTypeBoxingElimination = DSLOptions.TypeBoxingOptimization.NONE,
implicitTypeBoxingOptimization = DSLOptions.TypeBoxingOptimization.NONE,
voidBoxingOptimization = DSLOptions.TypeBoxingOptimization.NONE)
@TypeSystem({ //
UndefinedPlaceholder.class, //
boolean.class, //

0 comments on commit f097640

Please sign in to comment.