mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00

* Add zjit_* instructions to profile the interpreter * Rename FixnumPlus to FixnumAdd * Update a comment about Invalidate * Rename Guard to GuardType * Rename Invalidate to PatchPoint * Drop unneeded debug!() * Plan on profiling the types * Use the output of GuardType as type refined outputs
22 lines
806 B
Ruby
22 lines
806 B
Ruby
# -*- Ruby -*-
|
|
# -*- frozen_string_literal: true; -*-
|
|
# -*- warn_indent: true; -*-
|
|
#
|
|
# 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.
|
|
|
|
require_relative 'bare_instructions'
|
|
require_relative 'operands_unifications'
|
|
require_relative 'instructions_unifications'
|
|
|
|
RubyVM::Instructions = RubyVM::BareInstructions.to_a + \
|
|
RubyVM::OperandsUnifications.to_a + \
|
|
RubyVM::InstructionsUnifications.to_a
|
|
|
|
require_relative 'zjit_instructions'
|
|
require_relative 'trace_instructions'
|
|
RubyVM::Instructions.freeze
|