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

ruby-changes:52894

From: svn <ko1@a...>
Date: Wed, 17 Oct 2018 16:17:01 +0900 (JST)
Subject: [ruby-changes:52894] svn:r65108 (trunk): * expand tabs.

svn	2018-10-17 16:16:58 +0900 (Wed, 17 Oct 2018)

  New Revision: 65108

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

  Log:
    * expand tabs.

  Modified files:
    trunk/compile.c
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 65107)
+++ vm_insnhelper.c	(revision 65108)
@@ -1086,7 +1086,7 @@ vm_throw_continue(const rb_execution_con https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1086
 
 static VALUE
 vm_throw_start(const rb_execution_context_t *ec, rb_control_frame_t *const reg_cfp, enum ruby_tag_type state,
-	       const int flag, const VALUE throwobj)
+               const int flag, const VALUE throwobj)
 {
     const rb_control_frame_t *escape_cfp = NULL;
     const rb_control_frame_t * const eocfp = RUBY_VM_END_CONTROL_FRAME(ec); /* end of control frame pointer */
@@ -1241,7 +1241,7 @@ vm_throw(const rb_execution_context_t *e https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1241
     const int flag = (int)(throw_state & VM_THROW_NO_ESCAPE_FLAG);
 
     if (state != 0) {
-	return vm_throw_start(ec, reg_cfp, state, flag, throwobj);
+        return vm_throw_start(ec, reg_cfp, state, flag, throwobj);
     }
     else {
 	return vm_throw_continue(ec, throwobj);
Index: compile.c
===================================================================
--- compile.c	(revision 65107)
+++ compile.c	(revision 65108)
@@ -5382,7 +5382,7 @@ compile_break(rb_iseq_t *iseq, LINK_ANCH https://github.com/ruby/ruby/blob/trunk/compile.c#L5382
       break_by_insn:
 	/* escape from block */
 	CHECK(COMPILE(ret, "break val (block)", node->nd_stts));
-	ADD_INSN1(ret, line, throw, INT2FIX(throw_flag | TAG_BREAK));
+        ADD_INSN1(ret, line, throw, INT2FIX(throw_flag | TAG_BREAK));
 	if (popped) {
 	    ADD_INSN(ret, line, pop);
 	}
@@ -5402,7 +5402,7 @@ compile_break(rb_iseq_t *iseq, LINK_ANCH https://github.com/ruby/ruby/blob/trunk/compile.c#L5402
 	    }
 
 	    if (ISEQ_COMPILE_DATA(ip)->redo_label != 0) {
-		throw_flag = VM_THROW_NO_ESCAPE_FLAG;
+                throw_flag = VM_THROW_NO_ESCAPE_FLAG;
 		goto break_by_insn;
 	    }
 	    else if (ip->body->type == ISEQ_TYPE_BLOCK) {
@@ -5468,7 +5468,7 @@ compile_next(rb_iseq_t *iseq, LINK_ANCHO https://github.com/ruby/ruby/blob/trunk/compile.c#L5468
 		break;
 	    }
 
-	    throw_flag = VM_THROW_NO_ESCAPE_FLAG;
+            throw_flag = VM_THROW_NO_ESCAPE_FLAG;
 	    if (ISEQ_COMPILE_DATA(ip)->redo_label != 0) {
 		/* while loop */
 		break;
@@ -5484,7 +5484,7 @@ compile_next(rb_iseq_t *iseq, LINK_ANCHO https://github.com/ruby/ruby/blob/trunk/compile.c#L5484
 	}
 	if (ip != 0) {
 	    CHECK(COMPILE(ret, "next val", node->nd_stts));
-	    ADD_INSN1(ret, line, throw, INT2FIX(throw_flag | TAG_NEXT));
+            ADD_INSN1(ret, line, throw, INT2FIX(throw_flag | TAG_NEXT));
 
 	    if (popped) {
 		ADD_INSN(ret, line, pop);
@@ -5557,7 +5557,7 @@ compile_redo(rb_iseq_t *iseq, LINK_ANCHO https://github.com/ruby/ruby/blob/trunk/compile.c#L5557
 	}
 	if (ip != 0) {
 	    ADD_INSN(ret, line, putnil);
-	    ADD_INSN1(ret, line, throw, INT2FIX(VM_THROW_NO_ESCAPE_FLAG | TAG_REDO));
+            ADD_INSN1(ret, line, throw, INT2FIX(VM_THROW_NO_ESCAPE_FLAG | TAG_REDO));
 
 	    if (popped) {
 		ADD_INSN(ret, line, pop);

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

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