From f8b4823175a4260ba651d8f4a39fc44b09e87b08 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Tue, 16 Jun 2015 21:22:04 -0400 Subject: [PATCH] sep_comp: remove unrobust SeparateRuntimeFunction::arguments attribute Signed-off-by: Jean Privat --- src/compiler/separate_compiler.nit | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/compiler/separate_compiler.nit b/src/compiler/separate_compiler.nit index ed7da90..95ceece 100644 --- a/src/compiler/separate_compiler.nit +++ b/src/compiler/separate_compiler.nit @@ -2209,9 +2209,6 @@ class SeparateRuntimeFunction # The C type for the function pointer. var c_funptrtype: String is lazy do return "{c_ret}(*){c_sig}" - # The arguments, as generated by `compile_to_c` - private var arguments: Array[RuntimeVariable] is noinit - redef fun compile_to_c(compiler) do var mmethoddef = self.mmethoddef @@ -2248,7 +2245,6 @@ class SeparateRuntimeFunction comment.append(": {ret}") end compiler.provide_declaration(self.c_name, "{sig};") - self.arguments = arguments.to_a v.add_decl("/* method {self} for {comment} */") v.add_decl("{sig} \{") -- 1.7.9.5