From 2e8d84c1730f174497fc4e1611fd147ab057abfd Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Fri, 11 Sep 2020 14:57:57 -0700 Subject: [PATCH] u3: removes redundant stack reads from +reel and +stir jets --- pkg/urbit/jets/b/reel.c | 2 -- pkg/urbit/jets/e/parse.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkg/urbit/jets/b/reel.c b/pkg/urbit/jets/b/reel.c index 582df0ac4..d750ecad0 100644 --- a/pkg/urbit/jets/b/reel.c +++ b/pkg/urbit/jets/b/reel.c @@ -32,8 +32,6 @@ u3a_pile_sane(&pil_u); u3j_gate_prep(&sit_u, u3k(b)); - top = u3a_peek(&pil_u); - while ( len_w-- > 0 ) { pro = u3j_gate_slam(&sit_u, u3nc(u3k(*top), pro)); top = u3a_pop(&pil_u); diff --git a/pkg/urbit/jets/e/parse.c b/pkg/urbit/jets/e/parse.c index 95327572f..c59d496de 100644 --- a/pkg/urbit/jets/e/parse.c +++ b/pkg/urbit/jets/e/parse.c @@ -986,8 +986,6 @@ u3j_site raq_u; u3j_gate_prep(&raq_u, u3k(raq)); - top = u3a_peek(&pil_u); - while ( len_w-- > 0 ) { p_vex = *top; top = u3a_pop(&pil_u);