summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstraptest/test_yjit.rb2
-rw-r--r--darray.h2
-rw-r--r--tool/ruby_vm/models/instructions.rb2
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