From fe3bd570072b35e47e03ea23e2bc42a4d8a7681d Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Thu, 11 Mar 2021 14:15:01 -0500 Subject: [PATCH] Remove trailing whitespaces --- bootstraptest/test_yjit.rb | 2 +- darray.h | 2 +- tool/ruby_vm/models/instructions.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index f7e1fe4a7e..eac75d38a5 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -158,7 +158,7 @@ assert_equal '1', %q{ retval } -# Method redefinition (code invalidation) and GC +# Method redefinition (code invalidation) and GC assert_equal '7', %q{ def bar() return 5 diff --git a/darray.h b/darray.h index a86132d59a..71e2d7e6ce 100644 --- a/darray.h +++ b/darray.h @@ -116,7 +116,7 @@ rb_darray_buffer_size(int32_t capacity, size_t header_size, size_t element_size) // Internal function // Ensure there is space for one more element. Return 1 on success and 0 on failure. // Note: header_size can be bigger than sizeof(rb_darray_meta_t) when T is __int128_t, for example. -static inline int +static inline int rb_darray_ensure_space(void *ptr_to_ary, size_t header_size, size_t element_size) { rb_darray_meta_t **ptr_to_ptr_to_meta = ptr_to_ary; diff --git a/tool/ruby_vm/models/instructions.rb b/tool/ruby_vm/models/instructions.rb index 065ac7dbf2..ecf9fe7b6b 100644 --- a/tool/ruby_vm/models/instructions.rb +++ b/tool/ruby_vm/models/instructions.rb @@ -20,7 +20,7 @@ RubyVM::Instructions = RubyVM::BareInstructions.to_a + \ RubyVM::InstructionsUnifications.to_a + \ RubyVM::MicroJIT::ExampleInstructions.to_a - + require_relative 'trace_instructions' RubyVM::Instructions.freeze