Re: Locations in the codegen where we assume pointers tagged with certain values?

2019-04-27 Thread Ömer Sinan Ağacan
> Also, did you check that the tag we apply to the closure pointer matches the > tag that the info table defines? Yep, see my update in the Gitlab issue. Ömer Ben Gamari , 27 Nis 2019 Cmt, 16:51 tarihinde şunu yazdı: > > Ömer Sinan Ağacan writes: > > > Hi all, > > > > I'm trying to find all

Re: Locations in the codegen where we assume pointers tagged with certain values?

2019-04-27 Thread Ben Gamari
Ömer Sinan Ağacan writes: > Hi all, > > I'm trying to find all places in the code generator where we assume that a > pointer is tagged with a certain value. A generated code for this looks like > this: > > mov0x6(%rbx),%rax > > This moves payload[0] of the closure in %rbx to %rax, but it

Locations in the codegen where we assume pointers tagged with certain values?

2019-04-27 Thread Ömer Sinan Ağacan
Hi all, I'm trying to find all places in the code generator where we assume that a pointer is tagged with a certain value. A generated code for this looks like this: mov0x6(%rbx),%rax This moves payload[0] of the closure in %rbx to %rax, but it assumes that %rbx is tagged with 2 so it