Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added -X19 for selecting supported language version.

The default is Ruby version 1.8.7 support. To select Ruby version
1.9 support, pass -X19. If configured with 1.9 support by default,
pass -X19=no to boot Rubinius with 1.8.7 support.
  • Loading branch information...
commit e69322dcf091109473f774cb0ec6e841c70fe4d2 1 parent 4daad52
@brixen brixen authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 vm/configuration.hpp
View
8 vm/configuration.hpp
@@ -16,6 +16,9 @@ namespace rubinius {
config::Bool gc_honor_start;
config::Bool gc_autopack;
+ // Language
+ config::Bool version_19;
+
// JIT/Interpreter
config::Bool dynamic_interpreter_enabled;
config::Integer jit_dump_code;
@@ -69,6 +72,8 @@ namespace rubinius {
, gc_honor_start(this, "gc.honor_start", false)
, gc_autopack(this, "gc.autopack", true)
+ , version_19(this, "19", false)
+
, dynamic_interpreter_enabled(this, "interpreter.dynamic")
, jit_dump_code(this, "jit.dump_code", default_jit_dump_code)
, jit_call_til_compile(this, "jit.call_til_compile",
@@ -117,6 +122,9 @@ namespace rubinius {
gc_autopack.set_description(
"Set whether or not objects should be backed tightly in memory");
+ version_19.set_description(
+ "Set the supported language version to 1.9");
+
jit_dump_code.set_description(
"1 == show simple IR, 2 == show optimized IR, 4 == show machine code");
Please sign in to comment.
Something went wrong with that request. Please try again.