touched up pf_method_get_source_file() and pf_method_get_ip_source_line()

This commit is contained in:
hyunghwan.chung
2019-07-11 15:58:16 +00:00
parent d5475d79b6
commit fcf6d3ffc1
6 changed files with 146 additions and 38 deletions

View File

@ -322,7 +322,7 @@ class(#pointer) CompiledMethod(Object)
ntmprs,
nargs,
//code, <-- only if moo is built with MOO_USE_METHOD_TRAILER disable.
source_text,
dbi_text_offset,
dbi_file_offset,
source_line,
dbi_method_offset.
@ -348,6 +348,7 @@ class(#pointer) CompiledMethod(Object)
^self.name
}
method(#primitive) sourceText.
method(#primitive) sourceFile.
method(#primitive) ipSourceLine: ip.