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

ruby-changes:72368

From: Nobuyoshi <ko1@a...>
Date: Thu, 30 Jun 2022 11:04:47 +0900 (JST)
Subject: [ruby-changes:72368] 841521b7c1 (master): Adjust indent [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=841521b7c1

From 841521b7c1cbb1f57a29b2534532217270d482a0 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 30 Jun 2022 10:50:31 +0900
Subject: Adjust indent [ci skip]

---
 tool/ruby_vm/views/_insn_type_chars.erb | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/tool/ruby_vm/views/_insn_type_chars.erb b/tool/ruby_vm/views/_insn_type_chars.erb
index a9c112d369..e2ef222548 100644
--- a/tool/ruby_vm/views/_insn_type_chars.erb
+++ b/tool/ruby_vm/views/_insn_type_chars.erb
@@ -12,18 +12,20 @@ enum ruby_insn_type_chars { https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/_insn_type_chars.erb#L12
 % end
 };
 
-static inline union iseq_inline_storage_entry * ISEQ_IS_ENTRY_START(const struct rb_iseq_constant_body *body, char op_type) {
+static inline union iseq_inline_storage_entry *
+ISEQ_IS_ENTRY_START(const struct rb_iseq_constant_body *body, char op_type)
+{
     unsigned int relative_ic_offset = 0;
-    switch(op_type) {
+    switch (op_type) {
       case TS_IC:
-          relative_ic_offset += body->ise_size;
+        relative_ic_offset += body->ise_size;
       case TS_ISE:
-          relative_ic_offset += body->ivc_size;
+        relative_ic_offset += body->ivc_size;
       case TS_IVC:
       case TS_ICVARC:
-          break;
+        break;
       default:
-          rb_bug("Wrong op type");
+        rb_bug("Wrong op type");
     }
     return &body->is_entries[relative_ic_offset];
 }
-- 
cgit v1.2.1


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

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