2015-05-24 18:05:20 +03:00
|
|
|
require "parfait"
|
2015-05-08 15:10:30 +03:00
|
|
|
require "virtual/machine"
|
2015-05-31 18:34:18 +03:00
|
|
|
#if we are in the ruby run-time / generating an executable
|
|
|
|
require "virtual/positioned"
|
2015-06-04 08:22:38 +03:00
|
|
|
require "virtual/padding"
|
2015-05-31 18:34:18 +03:00
|
|
|
require "virtual/parfait_adapter"
|
2015-05-08 15:10:30 +03:00
|
|
|
|
2015-10-07 15:25:11 +03:00
|
|
|
require "phisol/compiler"
|
2015-05-08 15:10:30 +03:00
|
|
|
require "virtual/instruction"
|
2015-07-03 20:13:03 +03:00
|
|
|
require "virtual/method_source"
|
2015-05-08 15:10:30 +03:00
|
|
|
require "virtual/slots/slot"
|
|
|
|
# the passes _are_ order dependant
|
2015-05-30 14:49:47 +03:00
|
|
|
require "virtual/passes/minimizer"
|
2015-05-31 11:07:49 +03:00
|
|
|
require "virtual/passes/collector"
|
2015-05-08 15:10:30 +03:00
|
|
|
require "virtual/passes/enter_implementation"
|
|
|
|
|
2015-05-29 12:47:49 +03:00
|
|
|
|
|
|
|
class Fixnum
|
|
|
|
def fits_u8?
|
|
|
|
self >= 0 and self <= 255
|
|
|
|
end
|
|
|
|
end
|