mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Fix uninitialized nbytes in synthesize_frame.
This commit is contained in:
parent
fc31baea45
commit
b2225a4e98
@ -2441,6 +2441,7 @@ TraceRecorder::synthesize_frame(JSFunction* fun, JSStackFrame* down, uintN argc,
|
||||
JSInlineFrame* newifp;
|
||||
|
||||
nframeslots = JS_HOWMANY(sizeof(JSInlineFrame), sizeof(jsval));
|
||||
nbytes = (nframeslots + script->nslots) * sizeof(jsval);
|
||||
|
||||
/* Allocate missing expected args adjacent to actuals. */
|
||||
if (fun->nargs <= argc) {
|
||||
|
Loading…
Reference in New Issue
Block a user