Computed gotos on Reddit

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Jul 25 14:55:05 PDT 2012


>>>> std\regex.d(5118): Error: undefined identifier 'L_jumptable'
>>>>
>>>
>>> I was afraid of that. You may have to approximate it by loading the
>>> address of L_jumptable into a register and adding it in instead of using
>>> the addressing mode.

I failed to load it in any register or interact with it in any way.
I think I've stalled. There has to be a way to get label address 
somehow, I got tired of guess and shot :(

BTW that would allow us to do computed gotos but only in inline asm.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list