From: Jean Privat Date: Fri, 20 Mar 2015 06:56:15 +0000 (+0700) Subject: sepcomp: rename `compile_resolution_tables` as `compute_resolution_tables` X-Git-Tag: v0.7.3~16^2 X-Git-Url: http://nitlanguage.org?hp=4136382e2d92a37d0f45aabe9f182da495c246cc sepcomp: rename `compile_resolution_tables` as `compute_resolution_tables` because there is no C generation, only abstract data-structures. Signed-off-by: Jean Privat --- 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)