diff options
author | Mike Pall <mike> | 2010-02-11 16:21:18 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-11 16:21:18 +0100 |
commit | b2067236c5e1f9bfddeb5232f78865f72faef494 (patch) | |
tree | 4ce7391dc45261ea438d08fc52db801c9cd15eb1 /src/buildvm_x86.dasc | |
parent | 565eb3957485bf7568bf6e8bba75e5f35f9bf3e9 (diff) | |
download | luajit-b2067236c5e1f9bfddeb5232f78865f72faef494.tar.gz luajit-b2067236c5e1f9bfddeb5232f78865f72faef494.tar.bz2 luajit-b2067236c5e1f9bfddeb5232f78865f72faef494.zip |
Move dispatch tables out of GG_State struct.
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 10899e70..fdbefb83 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -1271,9 +1271,9 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
1271 | | movzx OP, RCL | 1271 | | movzx OP, RCL |
1272 | | shr RC, 16 | 1272 | | shr RC, 16 |
1273 | |.if X64 | 1273 | |.if X64 |
1274 | | jmp aword [DISPATCH+OP*8+GG_DISP_STATIC*8] // Retry FORI or JFORI. | 1274 | | jmp aword [DISPATCH+OP*8+BC__MAX*8] // Retry FORI or JFORI. |
1275 | |.else | 1275 | |.else |
1276 | | jmp aword [DISPATCH+OP*4+GG_DISP_STATIC*4] // Retry FORI or JFORI. | 1276 | | jmp aword [DISPATCH+OP*4+BC__MAX*4] // Retry FORI or JFORI. |
1277 | |.endif | 1277 | |.endif |
1278 | | | 1278 | | |
1279 | |//----------------------------------------------------------------------- | 1279 | |//----------------------------------------------------------------------- |
@@ -2629,9 +2629,9 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
2629 | | movzx OP, PC_OP | 2629 | | movzx OP, PC_OP |
2630 | | movzx RD, PC_RD | 2630 | | movzx RD, PC_RD |
2631 | |.if X64 | 2631 | |.if X64 |
2632 | | jmp aword [DISPATCH+OP*8+GG_DISP_STATIC*8] // Re-dispatch to static ins. | 2632 | | jmp aword [DISPATCH+OP*8+BC__MAX*8] // Re-dispatch to static ins. |
2633 | |.else | 2633 | |.else |
2634 | | jmp aword [DISPATCH+OP*4+GG_DISP_STATIC*4] // Re-dispatch to static ins. | 2634 | | jmp aword [DISPATCH+OP*4+BC__MAX*4] // Re-dispatch to static ins. |
2635 | |.endif | 2635 | |.endif |
2636 | | | 2636 | | |
2637 | |->cont_hook: // Continue from hook yield. | 2637 | |->cont_hook: // Continue from hook yield. |