sepcomp: rename `compile_resolution_tables` as `compute_resolution_tables`
authorJean Privat <jean@pryen.org>
Fri, 20 Mar 2015 06:56:15 +0000 (13:56 +0700)
committerJean Privat <jean@pryen.org>
Sat, 21 Mar 2015 06:01:04 +0000 (13:01 +0700)
because there is no C generation, only abstract data-structures.

Signed-off-by: Jean Privat <jean@pryen.org>

src/compiler/separate_compiler.nit

index 93508a9..af132f2 100644 (file)
@@ -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)