summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iseq.c2
-rw-r--r--sample/iseq_loader.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index fea5f72..061de83 100644
--- a/iseq.c
+++ b/iseq.c
@@ -2411,7 +2411,7 @@ Init_ISeq(void)
rb_define_method(rb_cISeq, "to_binary_format", iseqw_to_binary_format, -1);
rb_define_singleton_method(rb_cISeq, "from_binary_format", iseqw_s_from_binary_format, 1);
rb_define_singleton_method(rb_cISeq, "from_binary_format_extra_data", iseqw_s_from_binary_format_extra_data, 1);
-
+
/* location APIs */
rb_define_method(rb_cISeq, "path", iseqw_path, 0);
diff --git a/sample/iseq_loader.rb b/sample/iseq_loader.rb
index 4fbf02b..6c6a67d 100644
--- a/sample/iseq_loader.rb
+++ b/sample/iseq_loader.rb
@@ -88,7 +88,7 @@ class RubyVM::InstructionSequence
$ISEQ_LOADER_COMPILED += 1
STDERR.puts "[RUBY_COMPILED_FILE] compile #{fname}" if COMPILE_DEBUG
iseq = RubyVM::InstructionSequence.compile_file(fname)
-
+
binary = iseq.to_binary_format(extra_data(fname))
write_compiled_iseq(fname, iseq_key, binary)
iseq