value is not derived from code (was too much generalisation/confusing)

This commit is contained in:
Torsten Ruger
2014-05-21 19:41:51 +03:00
parent 067cde8d43
commit 937f566b27
2 changed files with 6 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ module Vm
# and usually end up embedded in the instructions. ie your basic foo + 4 will encode
# the 4 in the instruction opcode. The 4 is not accessible anywhere else.
# When it should be usable in other forms, the constant must become a Value first
class Constant < Value
class Constant < Code
end