For linking purposes, in codegen/asm.js asm.address, I store an address in two numbers to circumvent the limitation of the Number representation. It allows me to handle 64 bit addresses by doing the proper operations on the "splitted" address. However, once bootstrapped, the integer representation of numbers will only have 30 bits to represent an address value. I am thinking of further splitting the address into four 16 bits integer for the internal representation.
Would you guys have a better idea?
Erick