lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


In the case of math.sin, you know a fair amount about its semantics. But
does this sort of table access lifting run into trouble in the presence
of storage allocations which could trigger GC work which could run __gc
metamethods which could muck with the contents of global tables? (I'm
not saying that they should, but they could.) It seems like a JIT would
benefit from some way to have JIT'd code be listed as being dependent on
a particular table and have it get discarded in the event that anyone
writes to that table.

Mark