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

ruby-changes:46286

From: nobu <ko1@a...>
Date: Tue, 18 Apr 2017 22:14:15 +0900 (JST)
Subject: [ruby-changes:46286] nobu:r58399 (trunk): fixup! vm_insnhelper.c: adjust indent [ci skip]

nobu	2017-04-18 22:14:08 +0900 (Tue, 18 Apr 2017)

  New Revision: 58399

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

  Log:
    fixup! vm_insnhelper.c: adjust indent [ci skip]

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 58398)
+++ vm_insnhelper.c	(revision 58399)
@@ -3136,19 +3136,19 @@ vm_find_or_create_class_by_id(ID id, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3136
     rb_vm_defineclass_type_t type = VM_DEFINECLASS_TYPE(flags);
 
     switch (type) {
-    case VM_DEFINECLASS_TYPE_CLASS:
+      case VM_DEFINECLASS_TYPE_CLASS:
 	/* classdef returns class scope value */
 	return vm_define_class(id, flags, cbase, super);
 
-    case VM_DEFINECLASS_TYPE_SINGLETON_CLASS:
+      case VM_DEFINECLASS_TYPE_SINGLETON_CLASS:
 	/* classdef returns class scope value */
 	return rb_singleton_class(cbase);
 
-    case VM_DEFINECLASS_TYPE_MODULE:
+      case VM_DEFINECLASS_TYPE_MODULE:
 	/* classdef returns class scope value */
 	return vm_define_module(id, flags, cbase);
 
-    default:
+      default:
 	rb_bug("unknown defineclass type: %d", (int)type);
     }
 }
@@ -3268,11 +3268,11 @@ static OFFSET https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3268
 vm_case_dispatch(CDHASH hash, OFFSET else_offset, VALUE key)
 {
     switch (OBJ_BUILTIN_TYPE(key)) {
-    case -1:
-    case T_FLOAT:
-    case T_SYMBOL:
-    case T_BIGNUM:
-    case T_STRING:
+      case -1:
+      case T_FLOAT:
+      case T_SYMBOL:
+      case T_BIGNUM:
+      case T_STRING:
 	if (BASIC_OP_UNREDEFINED_P(BOP_EQQ,
 				   SYMBOL_REDEFINED_OP_FLAG |
 				   INTEGER_REDEFINED_OP_FLAG |
@@ -3677,9 +3677,9 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3677
 vm_opt_empty_p(VALUE recv)
 {
     switch (vm_opt_length(recv, BOP_EMPTY_P)) {
-    case Qundef: return Qundef;
-    case INT2FIX(0): return Qtrue;
-    default: return Qfalse;
+      case Qundef: return Qundef;
+      case INT2FIX(0): return Qtrue;
+      default: return Qfalse;
     }
 }
 

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

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