mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix stack offset calculation for multianewarray on x86
This commit is contained in:
parent
7a2bf9b855
commit
1192ef939e
@ -3427,9 +3427,11 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip,
|
|||||||
if (UNLIKELY(t->exception)) return;
|
if (UNLIKELY(t->exception)) return;
|
||||||
PROTECT(t, class_);
|
PROTECT(t, class_);
|
||||||
|
|
||||||
unsigned offset = localOffset
|
unsigned offset
|
||||||
(t, localSize(t, context->method) + c->index(c->top()),
|
= (localOffset
|
||||||
context->method) / BytesPerWord;
|
(t, localSize(t, context->method) + c->index(c->top()),
|
||||||
|
context->method) / BytesPerWord)
|
||||||
|
+ t->arch->frameReturnAddressSize();
|
||||||
|
|
||||||
Compiler::Operand* result = c->call
|
Compiler::Operand* result = c->call
|
||||||
(c->constant(getThunk(t, makeMultidimensionalArrayThunk)),
|
(c->constant(getThunk(t, makeMultidimensionalArrayThunk)),
|
||||||
|
Loading…
Reference in New Issue
Block a user