Fixing tail calls in the jit.

This commit is contained in:
Ben Vanik
2014-02-06 21:53:31 -08:00
parent 0d88e83daa
commit 5309356908
6 changed files with 47 additions and 6 deletions

View File

@@ -48,6 +48,6 @@ int X64Function::CallImpl(ThreadState* thread_state, uint64_t return_address) {
thunk(
machine_code_,
thread_state->raw_context(),
thread_state->memory()->membase());
(void*)return_address);
return 0;
}