Re: [MacRuby-devel] Error with AOT compiler

2009-07-30 Thread Vincent Isambart
> I haven't had time to add this to test_vm, but I did narrow down the issue > to this region of the generated llvm assembly: > (...) > Specifically, the issue is that "not_null" can be accessed directly from > "rescue_save_vars" leaving %12 undefined. I've attached the related files. Thanks for d

[MacRuby-devel] Error with AOT compiler

2009-07-30 Thread Josh Ballanco
I've stumbled across a bug with the AOT compiler. Compiling the following code causes an "Instruction does not dominate all uses!" error from LLVM: --*begin code*-- def test_method(a_hash) a_hash.each{|k,v| puts "Key: #{k} and Value: #{v}"} end test_method({:hello => 'world'}) --*end cod