Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rubinius BlockEnvironment#code changed to #compiled_code #124

Merged
merged 1 commit into from

2 participants

Brian Shirai Alex Suraci
Brian Shirai

This gets the master branch tests green again on Rubinius master.

Alex Suraci vito merged commit 8dfad3a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
2  lib/atomy/ast/internal/send.rb
View
@@ -21,7 +21,7 @@ def bytecode(g, mod)
var = g.state.scope.search_local(:"#@message_name:function")
var.get_bytecode(g)
g.dup
- g.send :code, 0
+ g.send :compiled_code, 0
g.send :scope, 0
mod.compile(g, @receiver)
g.swap
2  lib/atomy/module.rb
View
@@ -24,7 +24,7 @@ def compile_context
self,
Rubinius::ConstantScope.new(Object))
- meth = proc {}.block.code
+ meth = proc {}.block.compiled_code
meth.metadata = nil
meth.name = :__script__
meth.scope = scope
2  test/bench/fib/fib.rb
View
@@ -98,5 +98,5 @@ def fib_atomy_blocks(a, b, c)
#[:fib_closure_1, :fib_closure_2, :fib_closure_3].each do |m|
#puts ""
#puts m
- #puts 20.method(m).executable.block_env.code.decode
+ #puts 20.method(m).executable.block_env.compiled_code.decode
#end
Something went wrong with that request. Please try again.