summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/typo-bld.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/typo-bld.lmt')
-rw-r--r--tex/context/base/mkxl/typo-bld.lmt14
1 files changed, 1 insertions, 13 deletions
diff --git a/tex/context/base/mkxl/typo-bld.lmt b/tex/context/base/mkxl/typo-bld.lmt
index 78bdd8214..9bd5172e7 100644
--- a/tex/context/base/mkxl/typo-bld.lmt
+++ b/tex/context/base/mkxl/typo-bld.lmt
@@ -52,7 +52,6 @@ local hpack_node = nodes.hpack
local nuts = nodes.nuts
local tonode = nodes.tonode
local tonut = nodes.tonut
-local count_nodes = nuts.countall
local getattr = nuts.getattr
local starttiming = statistics.starttiming
@@ -177,9 +176,7 @@ local function processor(head,followed_by_display)
-- todo: not again in otr so we need to flag
if enabled then
starttiming(parbuilders)
- head = tonut(head)
head = actions(head,followed_by_display)
- head = tonode(head)
stoptiming(parbuilders)
return head
else
@@ -207,16 +204,7 @@ function builders.vpack_filter(head,groupcode,size,packtype,maxdepth,direction)
local done = false
if head then
starttiming(builders)
- head = tonut(head)
- if trace_vbox_builder then
- local before = count_nodes(head)
- head, done = vboxactions(head,groupcode,size,packtype,maxdepth,direction)
- local after = count_nodes(head)
- nodes.processors.tracer("vpack",head,groupcode,before,after,done)
- else
- head, done = vboxactions(head,groupcode)
- end
- head = tonode(head)
+ head, done = vboxactions(head,groupcode)
stoptiming(builders)
end
return head, done