Skip to content

Latest commit

 

History

History
113 lines (76 loc) · 2.57 KB

addressof_jit.md

File metadata and controls

113 lines (76 loc) · 2.57 KB

amx_assembly addressof_jit

AMX Assembly Library: addressof JIT code.

/// /// addressof works by reading data directly out of the stack to get /// a return address, then reading information from that location in memory /// to get the next CALL OpCode. This fails with the JIT because the /// return address is in the JITed code, not in the original p-code. /// Instead, when the JIT is in use, use codescan to convert /// runtime addressof calls to startup-time resolutions. Actually, /// there's no reason why this should be restricted to JIT only. ///

Functions

AddressofResolve:

Syntax

AddressofResolve()

Depends on

Estimated stack usage

761 cells

AddressofResolveFoundEnd:

Syntax

AddressofResolveFoundEnd(scanner[])

Parameters

Name Info
scanner [172]

Depends on

Estimated stack usage

27 cells

AddressofResolveFoundStart:

Syntax

AddressofResolveFoundStart(scanner[])

Parameters

Name Info
scanner [172]

Depends on

Estimated stack usage

44 cells