Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit] Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
Date: Mon, 13 May 2024 15:24:42 +0300	[thread overview]
Message-ID: <ZkIGiqj3QnswlwtM@root> (raw)
In-Reply-To: <hcaatu2iwm264qnaef54wwyuardluwbkkiyalm7pzy2shusx4s@mjduoovuaze7>

Hi, Maxim!
Thanks for the review.
Fixed your comments and force-pushed the branch.

On 05.05.24, Maxim Kokryashkin wrote:
> Hi, Sergey!
> Thanks for the patch!
> LGTM, except for two nits below.
> On Wed, Apr 24, 2024 at 01:37:20PM UTC, Sergey Kaplun wrote:
> > From: Mike Pall <mike>
> >

<snipped>

> > +
> > +-- Amount of iteration to compile and execute the trace.
> Typo: s/iteration/iterations/

Fixed, thanks!

> > +local LOOP_LIMIT = 4
> > +

<snipped>

> > +    -- with the corresponding snapshot is skipped.
> > +    -- The difference in the emitted IR before and afterthe patch
> Typo: s/afterthe/after the/

Fixed, thanks!
See the iterative patch below.

===================================================================
diff --git a/test/tarantool-tests/lj-1133-fwd-href-hrefk-alias.test.lua b/test/tarantool-tests/lj-1133-fwd-href-hrefk-alias.test.lua
index 6b72c97a..882ca780 100644
--- a/test/tarantool-tests/lj-1133-fwd-href-hrefk-alias.test.lua
+++ b/test/tarantool-tests/lj-1133-fwd-href-hrefk-alias.test.lua
@@ -15,7 +15,7 @@ local rawset = rawset
 -- field in HREFK IR.
 local HASH_NODES = 65535
 
--- Amount of iteration to compile and execute the trace.
+-- Amount of iterations to compile and execute the trace.
 local LOOP_LIMIT = 4
 
 -- Function to be called twice to emit the trace and take the side
@@ -42,7 +42,7 @@ local function trace_aliased_tables(t1, t2)
     -- `lj_opt_fwd_wasnonnil()` missed the check that HREFK and
     -- HREF may alias before the patch, so the guarded HLOAD IR
     -- with the corresponding snapshot is skipped.
-    -- The difference in the emitted IR before and afterthe patch
+    -- The difference in the emitted IR before and after the patch
     -- is the following:
     -- |  0004 >  tab SLOAD  #1    T
     -- |              ...
===================================================================

> > +    -- is the following:

<snipped>

-- 
Best regards,
Sergey Kaplun

  reply	other threads:[~2024-05-13 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-24 10:37 Sergey Kaplun via Tarantool-patches
2024-05-05 12:34 ` Maxim Kokryashkin via Tarantool-patches
2024-05-13 12:24   ` Sergey Kaplun via Tarantool-patches [this message]
2024-06-18 10:44 ` Sergey Bronnikov via Tarantool-patches
2024-07-09  8:05 ` Sergey Kaplun via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZkIGiqj3QnswlwtM@root \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=m.kokryashkin@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit] Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox