added CompiledMethod>>sourceFile, CompiledMethod>>sourceLine.

added pf_method_get_source_file().
enhanced moo_addmethodtodbginfo().
enhanced the compiler to call moo_addfiletodbginfo(), moo_addmethodtodbginfo()
This commit is contained in:
hyunghwan.chung
2019-07-09 15:56:34 +00:00
parent 8820c3db16
commit b4c6e6a9de
7 changed files with 128 additions and 20 deletions

View File

@ -346,4 +346,11 @@ class(#pointer) CompiledMethod(Object)
{
^self.name
}
method(#primitive) sourceFile.
method sourceLine
{
^self.source_line
}
}