mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Now that the JIT memory manager allocates as many bytes as necessary rather than
rounding up to a page, we need to request (num instrs * 4) bytes. However, I think that 64 bytes is overkill for the stub function. llvm-svn: 7888
This commit is contained in:
parent
2416155d3d
commit
cddc1c4f9c
@ -373,7 +373,8 @@ uint64_t JITResolver::CompilationCallback() {
|
||||
/// directly.
|
||||
///
|
||||
uint64_t JITResolver::emitStubForFunction(Function *F) {
|
||||
MCE.startFunctionStub(*F, 20);
|
||||
// FIXME: 40 is not enough... but should be
|
||||
MCE.startFunctionStub(*F, 64);
|
||||
|
||||
DEBUG(std::cerr << "Emitting stub at addr: 0x"
|
||||
<< std::hex << MCE.getCurrentPCValue() << "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user