Minor tweaks to integration of assembler part.

Remove unneeded PC restore in vm_growstack_*.
Don't declare symbols that are unused in interpreter-only builds.
Don't embed lj_vm_foldfpm in interpreter-only builds.
Add 2nd temporary TValue in lua_State.
This commit is contained in:
Mike Pall
2010-08-29 20:04:40 +02:00
parent 7313a0821d
commit e1efd0d871
6 changed files with 2600 additions and 2580 deletions

View File

@@ -480,7 +480,7 @@ typedef struct global_State {
uint8_t vmevmask; /* VM event mask. */
GCRef mainthref; /* Link to main thread. */
TValue registrytv; /* Anchor for registry. */
TValue tmptv; /* Temporary TValue. */
TValue tmptv, tmptv2; /* Temporary TValues. */
GCupval uvhead; /* Head of double-linked list of all open upvalues. */
int32_t hookcount; /* Instruction hook countdown. */
int32_t hookcstart; /* Start count for instruction hook counter. */