From e19268a8c2bd866cd07d31a75f2ca6fe63883a93 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 20 Mar 2015 13:56:15 +0700 Subject: [PATCH] sepcomp: rename `compile_resolution_tables` as `compute_resolution_tables` because there is no C generation, only abstract data-structures. Signed-off-by: Jean Privat --- src/compiler/separate_compiler.nit | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/compiler/separate_compiler.nit b/src/compiler/separate_compiler.nit index 93508a9..af132f2 100644 --- a/src/compiler/separate_compiler.nit +++ b/src/compiler/separate_compiler.nit @@ -466,7 +466,7 @@ class SeparateCompiler type_tables = build_type_tables(poset) # VT and FT are stored with other unresolved types in the big resolution_tables - self.compile_resolution_tables(live_types) + self.compute_resolution_tables(live_types) return poset end @@ -527,9 +527,8 @@ class SeparateCompiler return tables end - protected fun compile_resolution_tables(mtypes: Set[MType]) do - # resolution_tables is used to perform a type resolution at runtime in O(1) - + # resolution_tables is used to perform a type resolution at runtime in O(1) + private fun compute_resolution_tables(mtypes: Set[MType]) do # During the visit of the body of classes, live_unresolved_types are collected # and associated to # Collect all live_unresolved_types (visited in the body of classes) -- 1.7.9.5