replace add_new_int in most builtins

in integer and word mainly, replaced with allocate_int
(tests pending as syscalls are undone)
This commit is contained in:
Torsten Ruger
2018-11-21 20:29:22 +02:00
parent bbb7dbef75
commit a8d1f070f1
6 changed files with 74 additions and 60 deletions

View File

@ -22,6 +22,11 @@ module Parfait
def self.type_length
2 # 0 type, 1 next_i
end
# index at which the next integer reference is. Used in risc reneration
def self.next_index
1
end
# index at which the actual integer is. Used in risc reneration
def self.integer_index
type_length
end