aaaef6e3d7
addressing them now directly in get/set slot idea is still valid, but express objects not needed/used anymore
22 lines
502 B
Ruby
22 lines
502 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"
|
|
require "virtual/passes/enter_implementation"
|
|
|
|
|
|
class Fixnum
|
|
def fits_u8?
|
|
self >= 0 and self <= 255
|
|
end
|
|
end
|