diff graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/subsystems/FeatureManager.java @ 13645:497fada09efb

Ruby: remove versioning.
author Chris Seaton <chris.seaton@oracle.com>
date Wed, 15 Jan 2014 19:27:27 +0000
parents 0fbee3eb71f0
children 50c11b9a7fdf
line wrap: on
line diff
--- a/graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/subsystems/FeatureManager.java	Wed Jan 15 15:11:47 2014 +0100
+++ b/graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/subsystems/FeatureManager.java	Wed Jan 15 19:27:27 2014 +0000
@@ -35,7 +35,7 @@
     public boolean require(String feature) throws IOException {
         // Some features are handled specially
 
-        if (context.getConfiguration().getRubyVersion().is19OrLater() && feature.equals("continuation")) {
+        if (feature.equals("continuation")) {
             // We always load continuations
             return true;
         }