From c940e25f91c545a802c2f72c3a1ac7ba1a3be74a Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Tue, 3 Nov 2015 11:22:52 +0200 Subject: [PATCH] other half of previous call change --- lib/soml/compiler/call_site.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/soml/compiler/call_site.rb b/lib/soml/compiler/call_site.rb index dd9ddb67..65418e15 100644 --- a/lib/soml/compiler/call_site.rb +++ b/lib/soml/compiler/call_site.rb @@ -42,9 +42,6 @@ module Soml method = clazz.get_instance_method(name) #puts Register.machine.space.get_class_by_name(:Integer).method_names.to_a raise "Method not implemented #{me.type}.#{name}" unless method - ret_tmp = use_reg(:Label) - add_code Register::LoadConstant.new(statement.first, method.instructions , ret_tmp) - add_code Register.set_slot(statement, ret_tmp , :message , :return_address) Register.issue_call( self , method ) end def set_message_details name_s , arguments