Remove .linenumber and .filename; use hol0 and hol0+4.
We need this because some .e files in lang/ are using 'loe 0' and 'lae 4' to load the line number from hol0 and filename from hol0+4.
This commit is contained in:
parent
b427d33f9f
commit
ce5faba919
|
@ -1893,16 +1893,16 @@ PATTERNS
|
|||
pat fil /* Set current filename */
|
||||
leaving
|
||||
lae $1
|
||||
ste ".filename"
|
||||
ste "hol0+4"
|
||||
|
||||
pat lin /* Set current line number */
|
||||
leaving
|
||||
loc $1
|
||||
ste ".linenumber"
|
||||
ste "hol0"
|
||||
|
||||
pat lni /* Increment line number */
|
||||
leaving
|
||||
ine ".linenumber"
|
||||
ine "hol0"
|
||||
|
||||
pat lim /* Load EM trap ignore mask */
|
||||
leaving
|
||||
|
|
|
@ -57,7 +57,3 @@ begtext:
|
|||
.define .trppc, .ignmask
|
||||
.comm .trppc, 4 ! ptr to user trap handler
|
||||
.comm .ignmask, 4 ! user trap ignore mask
|
||||
|
||||
.define .linenumber, .filename
|
||||
.comm .linenumber, 4 ! current linenumber (used for debugging)
|
||||
.comm .filename, 4 ! ptr to current filename (used for debugging)
|
||||
|
|
Loading…
Reference in a new issue