2018-12-27 01:12:09 -05:00
|
|
|
/* -*- C -*- */
|
2018-01-12 03:38:09 -05:00
|
|
|
|
|
|
|
%# Copyright (c) 2017 Urabe, Shyouhei. All rights reserved.
|
|
|
|
%#
|
|
|
|
%# This file is a part of the programming language Ruby. Permission is hereby
|
|
|
|
%# granted, to either redistribute and/or modify this file, provided that the
|
|
|
|
%# conditions mentioned in the file COPYING are met. Consult the file for
|
|
|
|
%# details.
|
|
|
|
<%= render 'copyright' %>
|
|
|
|
<%= render 'notice', locals: {
|
|
|
|
this_file: 'is VM main loop',
|
|
|
|
edit: __FILE__,
|
|
|
|
} -%>
|
|
|
|
|
|
|
|
#include "vm_insnhelper.h"
|
|
|
|
% RubyVM::BareInstructions.to_a.each do |insn|
|
|
|
|
<%= render 'insn_entry', locals: { insn: insn } -%>
|
|
|
|
% end
|
|
|
|
%
|
|
|
|
% RubyVM::OperandsUnifications.to_a.each do |insn|
|
|
|
|
<%= render 'insn_entry', locals: { insn: insn } -%>
|
|
|
|
% end
|
|
|
|
%
|
|
|
|
% RubyVM::InstructionsUnifications.to_a.each do |insn|
|
|
|
|
<%= render 'insn_entry', locals: { insn: insn } -%>
|
|
|
|
% end
|
|
|
|
%
|
2020-10-05 16:08:02 -04:00
|
|
|
% RubyVM::TraceInstructions.to_a.each do |insn|
|
|
|
|
<%= render 'trace_instruction', locals: { insn: insn } -%>
|
|
|
|
% end
|