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

ruby-changes:54456

From: svn <ko1@a...>
Date: Tue, 1 Jan 2019 10:41:31 +0900 (JST)
Subject: [ruby-changes:54456] svn:r66671 (trunk): * expand tabs.

svn	2019-01-01 10:41:26 +0900 (Tue, 01 Jan 2019)

  New Revision: 66671

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

  Log:
    * expand tabs.

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 66670)
+++ compile.c	(revision 66671)
@@ -7462,10 +7462,10 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK https://github.com/ruby/ruby/blob/trunk/compile.c#L7462
 	DECL_ANCHOR(args);
 	unsigned int flag = 0;
 	ID mid = node->nd_mid;
-	LABEL *else_label = 0;
-	LABEL *end_label = 0;
+        LABEL *else_label = 0;
+        LABEL *end_label = 0;
 	VALUE argc;
-	VALUE branches = 0;
+        VALUE branches = 0;
 
 	/* optimization shortcut
 	 *   obj["literal"] = value -> opt_aset_with(obj, "literal", value)
@@ -7508,7 +7508,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK https://github.com/ruby/ruby/blob/trunk/compile.c#L7508
             else_label = NEW_LABEL(line);
             end_label = NEW_LABEL(line);
             DECL_BRANCH_BASE(branches, nd_first_lineno(node), nd_first_column(node), nd_last_lineno(node), nd_last_column(node), "&.");
-	    ADD_INSNL(recv, line, branchnil, else_label);
+            ADD_INSNL(recv, line, branchnil, else_label);
             ADD_TRACE_BRANCH_COVERAGE(recv, nd_first_lineno(node), nd_first_column(node), nd_last_lineno(node), nd_last_column(node), "then", branches);
 	}
 	if (!popped) {
@@ -7541,10 +7541,10 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK https://github.com/ruby/ruby/blob/trunk/compile.c#L7541
 	    ADD_SEQ(ret, args);
 	}
 	ADD_SEND_WITH_FLAG(ret, line, mid, argc, INT2FIX(flag));
-	if (else_label && end_label) {
-	    ADD_INSNL(ret, line, jump, end_label);
+        if (else_label && end_label) {
+            ADD_INSNL(ret, line, jump, end_label);
             ADD_LABEL(ret, else_label);
-	    ADD_TRACE_BRANCH_COVERAGE(ret, nd_first_lineno(node), nd_first_column(node), nd_last_lineno(node), nd_last_column(node), "else", branches);
+            ADD_TRACE_BRANCH_COVERAGE(ret, nd_first_lineno(node), nd_first_column(node), nd_last_lineno(node), nd_last_column(node), "else", branches);
             ADD_LABEL(ret, end_label);
         }
 	ADD_INSN(ret, line, pop);

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

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