aboutsummaryrefslogtreecommitdiff
path: root/src/buildvm_x86.dasc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r--src/buildvm_x86.dasc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc
index b9036273..9d201f91 100644
--- a/src/buildvm_x86.dasc
+++ b/src/buildvm_x86.dasc
@@ -2453,7 +2453,13 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
2453 | jmp >1 2453 | jmp >1
2454#endif 2454#endif
2455 | 2455 |
2456 |->vm_hook: // Dispatch target with enabled hooks. 2456 |->vm_rethook: // Dispatch target for return hooks.
2457 | movzx RD, byte [DISPATCH+DISPATCH_GL(hookmask)]
2458 | test RDL, HOOK_ACTIVE // Hook already active?
2459 | jnz >5
2460 | jmp >1
2461 |
2462 |->vm_inshook: // Dispatch target for instr/line hooks.
2457 | movzx RD, byte [DISPATCH+DISPATCH_GL(hookmask)] 2463 | movzx RD, byte [DISPATCH+DISPATCH_GL(hookmask)]
2458 | test RDL, HOOK_ACTIVE // Hook already active? 2464 | test RDL, HOOK_ACTIVE // Hook already active?
2459 | jnz >5 2465 | jnz >5