add FunctionCall instruction and the missing puts (stub)

This commit is contained in:
Torsten Ruger
2014-08-22 15:08:46 +03:00
parent e19b7be111
commit 91ce05364a
7 changed files with 20 additions and 5 deletions

View File

@ -15,8 +15,9 @@ module Trickle
elsif( me.is_a? Virtual::ObjectConstant )
clazz = me.clazz
method = clazz.get_method_definition code.name
puts "Found me a method #{method}"
raise "Method not implemented #{clazz.name}.#{code.name}" unless method
call = Virtual::FunctionCall.new( method )
block.replace(code , [call] )
else
raise "unimplemented"
end