rubyx/lib/virtual.rb
Torsten Ruger fa4949fc80 remove MethodEnter Instructions
only resolved to SaveReturn anyway
also Halt instruction wasn’t used, gone
passes changed to start at register
2015-10-18 17:39:35 +03:00

21 lines
456 B
Ruby

require "parfait"
require "virtual/machine"
#if we are in the ruby run-time / generating an executable
require "virtual/positioned"
require "virtual/padding"
require "virtual/parfait_adapter"
require "phisol/compiler"
require "virtual/instruction"
require "virtual/method_source"
# the passes _are_ order dependant
require "virtual/passes/minimizer"
require "virtual/passes/collector"
class Fixnum
def fits_u8?
self >= 0 and self <= 255
end
end