fixup tramp
authorJean Privat <jean@pryen.org>
Tue, 10 Feb 2015 03:25:53 +0000 (10:25 +0700)
committerJean Privat <jean@pryen.org>
Tue, 10 Feb 2015 03:26:08 +0000 (10:26 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>

src/compiler/separate_compiler.nit

index ba65675..9010227 100644 (file)
@@ -1996,6 +1996,9 @@ class SeparateRuntimeFunction
                compiler.names[self.c_name] = "{mmethoddef.full_name} ({mmethoddef.location.file.filename}:{mmethoddef.location.line_start})"
        end
 
+       # Compile the trampolines used to implement late-binding.
+       #
+       # See `opt_trampoline_call`.
        fun compile_trampolines(compiler: SeparateCompiler)
        do
                var recv = self.mmethoddef.mclassdef.bound_mtype