compiler.cfg.stacks.local: Have unit test load prettyprint implementation for ds-loc so that it always prints as "D 4".
parent
cb83f3b39b
commit
1ee9a8ea13
|
@ -16,9 +16,9 @@ HELP: translate-local-loc
|
||||||
{ $description "Translates an absolute stack location to one that is relative to the current stacks height as given in " { $link current-height } "." }
|
{ $description "Translates an absolute stack location to one that is relative to the current stacks height as given in " { $link current-height } "." }
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
"USING: compiler.cfg.stacks.local compiler.cfg.registers namespaces prettyprint ;"
|
"USING: compiler.cfg.stacks.local compiler.cfg.registers compiler.cfg.debugger namespaces prettyprint ;"
|
||||||
"T{ current-height { d 3 } } current-height set D 7 translate-local-loc ."
|
"T{ current-height { d 3 } } current-height set D 7 translate-local-loc ."
|
||||||
"T{ ds-loc { n 4 } }"
|
"D 4"
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue