Commit 7602bbd4 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Try inserting a jump through slowpath

I think this only matters if we knew the type at JIT time.
parent 605edd61
......@@ -1647,6 +1647,8 @@ std::pair<uint8_t*, uint8_t*> initializePatchpoint3(void* slowpath_func, uint8_t
assembler::Assembler _a(start_addr, slowpath_start - start_addr);
//_a.trap();
if (slowpath_start - start_addr > 20)
_a.jmp(assembler::JumpDestination::fromStart(slowpath_start - start_addr));
_a.fillWithNops();
assembler::Assembler assem(slowpath_start, end_addr - slowpath_start);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment