mirror of
https://github.com/corda/corda.git
synced 2025-01-28 07:04:12 +00:00
zero locals when invoking method
This commit is contained in:
parent
32b5d070fb
commit
acd254544c
@ -4159,6 +4159,11 @@ run(Thread* t)
|
|||||||
frame = makeFrame(t, code, frame, 0, base);
|
frame = makeFrame(t, code, frame, 0, base);
|
||||||
code = methodCode(t, code);
|
code = methodCode(t, code);
|
||||||
|
|
||||||
|
memset(stack + base + parameterCount,
|
||||||
|
0,
|
||||||
|
(codeMaxLocals(t, methodCode(t, code)) - parameterCount)
|
||||||
|
* BytesPerWord);
|
||||||
|
|
||||||
sp = base + codeMaxLocals(t, methodCode(t, code));
|
sp = base + codeMaxLocals(t, methodCode(t, code));
|
||||||
}
|
}
|
||||||
} goto loop;
|
} goto loop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user