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

ruby-changes:51028

From: k0kubun <ko1@a...>
Date: Sun, 22 Apr 2018 13:01:28 +0900 (JST)
Subject: [ruby-changes:51028] k0kubun:r63235 (trunk): mjit_compile.c: comment the intention of r63092 [ci skip]

k0kubun	2018-04-22 13:01:23 +0900 (Sun, 22 Apr 2018)

  New Revision: 63235

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63235

  Log:
    mjit_compile.c: comment the intention of r63092 [ci skip]
    
    It's for "leave" instruction.

  Modified files:
    trunk/mjit_compile.c
Index: mjit_compile.c
===================================================================
--- mjit_compile.c	(revision 63234)
+++ mjit_compile.c	(revision 63235)
@@ -176,6 +176,7 @@ mjit_compile(FILE *f, const struct rb_is https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L176
     status.compiled_for_pos = ZALLOC_N(int, body->iseq_size);
     status.local_stack_p = !body->catch_except_p;
 
+    /* For performance, disable stack consistency check on JIT unless debugging */
     if (!mjit_opts.debug) {
         fprintf(f, "#undef OPT_CHECKED_RUN\n");
         fprintf(f, "#define OPT_CHECKED_RUN 0\n\n");

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

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