[前][次][番号順一覧][スレッド一覧]

ruby-changes:60965

From: Takashi <ko1@a...>
Date: Fri, 1 May 2020 18:13:35 +0900 (JST)
Subject: [ruby-changes:60965] 90969edf9b (master): Fix a wrong argument of vm_exec on JIT cancel

https://git.ruby-lang.org/ruby.git/commit/?id=90969edf9b

From 90969edf9bfa7cb87c0818f930bb6b548867a99f Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Fri, 1 May 2020 02:12:42 -0700
Subject: Fix a wrong argument of vm_exec on JIT cancel


diff --git a/mjit_compile.c b/mjit_compile.c
index 57ab034..9ceca5b 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -256,7 +256,7 @@ compile_inlined_cancel_handler(FILE *f, const struct rb_iseq_constant_body *body https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L256
     }
     // We're not just returning Qundef here so that caller's normal cancel handler can
     // push back `stack` to `cfp->sp`.
-    fprintf(f, "    return vm_exec(ec, ec->cfp);\n");
+    fprintf(f, "    return vm_exec(ec, FALSE);\n");
 }
 
 // Print the block to cancel JIT execution.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]