Skip to content
Permalink
Browse files
[Truffle] Start to import Enumerator.
  • Loading branch information
chrisseaton committed Jan 30, 2015
1 parent bbf6abc commit e217033c143db5842fa9519a8e7030593474a228
Showing with 600 additions and 97 deletions.
  1. +1 −0 core/src/main/ruby/jruby/truffle/core.rb
  2. +6 −0 core/src/main/ruby/jruby/truffle/core/rubinius/api/shims/rubinius.rb
  3. +593 −0 core/src/main/ruby/jruby/truffle/core/rubinius/kernel/common/enumerator.rb
  4. +0 −12 spec/truffle/tags/core/enumerator/each_tags.txt
  5. +0 −5 spec/truffle/tags/core/enumerator/each_with_index_tags.txt
  6. +0 −4 spec/truffle/tags/core/enumerator/each_with_object_tags.txt
  7. +0 −3 spec/truffle/tags/core/enumerator/enum_for_tags.txt
  8. +0 −1 spec/truffle/tags/core/enumerator/enumerator_tags.txt
  9. +0 −1 spec/truffle/tags/core/enumerator/feed_tags.txt
  10. +0 −5 spec/truffle/tags/core/enumerator/generator/each_tags.txt
  11. +0 −2 spec/truffle/tags/core/enumerator/generator/initialize_tags.txt
  12. +0 −9 spec/truffle/tags/core/enumerator/initialize_tags.txt
  13. +0 −12 spec/truffle/tags/core/enumerator/inject_tags.txt
  14. +0 −1 spec/truffle/tags/core/enumerator/inspect_tags.txt
  15. +0 −2 spec/truffle/tags/core/enumerator/lazy/initialize_tags.txt
  16. +0 −1 spec/truffle/tags/core/enumerator/lazy/lazy_tags.txt
  17. +0 −6 spec/truffle/tags/core/enumerator/new_tags.txt
  18. +0 −3 spec/truffle/tags/core/enumerator/rewind_tags.txt
  19. +0 −3 spec/truffle/tags/core/enumerator/size_tags.txt
  20. +0 −3 spec/truffle/tags/core/enumerator/to_enum_tags.txt
  21. +0 −13 spec/truffle/tags/core/enumerator/with_index_tags.txt
  22. +0 −4 spec/truffle/tags/core/enumerator/with_object_tags.txt
  23. +0 −3 spec/truffle/tags/core/enumerator/yielder/append_tags.txt
  24. +0 −2 spec/truffle/tags/core/enumerator/yielder/initialize_tags.txt
  25. +0 −2 spec/truffle/tags/core/enumerator/yielder/yield_tags.txt
@@ -32,6 +32,7 @@
require_relative 'core/rubinius/kernel/bootstrap/type'

# Load common (ordered according to Rubinius' load_order.txt)
require_relative 'core/rubinius/kernel/common/enumerator'
require_relative 'core/rubinius/kernel/common/enumerable'
require_relative 'core/rubinius/kernel/common/undefined'
require_relative 'core/rubinius/kernel/common/type'
@@ -12,6 +12,12 @@ def self.mathn_loaded?
false
end

module Fiber

ENABLED = true

end

end

class PrimitiveFailure < StandardError

0 comments on commit e217033

Please sign in to comment.