mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
Trampolines can be 2 words, so take that into account when reserving space for LIR_call instructions (473225, r=graydon).
This commit is contained in:
parent
2c008538f1
commit
30be65f596
@ -1131,7 +1131,7 @@ namespace nanojit
|
||||
|
||||
// Argument deltas are calculated relative to the final LIns,
|
||||
// which is the last word in the cluster.
|
||||
LInsp from = _buf->next() + argc + insSz - 1;
|
||||
LInsp from = _buf->next() + argc * LIR_FAR_SLOTS + insSz - 1;
|
||||
for (int32_t i=0; i < argc; i++)
|
||||
makeReachable(args[i], from);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user