Skip to content

Commit

Permalink
[Truffle] Disable DSL boxing optimisations.
Browse files Browse the repository at this point in the history
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 f097640
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/main/java/org/jruby/truffle/nodes/RubyTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -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, //
Expand Down

0 comments on commit f097640

Please sign in to comment.