Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created January 16, 2025 19:49
Show Gist options
  • Save tenderlove/13c7e63477fbbfdafebbc962497820f7 to your computer and use it in GitHub Desktop.
Save tenderlove/13c7e63477fbbfdafebbc962497820f7 to your computer and use it in GitHub Desktop.
diff --git a/tool/ruby_vm/views/_insn_entry.erb b/tool/ruby_vm/views/_insn_entry.erb
index 6ec33461c4..bc9a1d44b4 100644
--- a/tool/ruby_vm/views/_insn_entry.erb
+++ b/tool/ruby_vm/views/_insn_entry.erb
@@ -64,7 +64,7 @@ INSN_ENTRY(<%= insn.name %>)
INC_SP(INSN_ATTR(sp_inc));
% insn.rets.reverse_each.with_index do |ret, i|
TOPN(<%= i %>) = <%= insn.cast_to_VALUE ret %>;
- VM_ASSERT(!RB_TYPE_P(TOPN(<%= i %>), T_NONE));
+ assert(!RB_TYPE_P(TOPN(<%= i %>), T_NONE));
VM_ASSERT(!RB_TYPE_P(TOPN(<%= i %>), T_MOVED));
% end
% end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment