mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Don't spew uninitialized memory. (bug 822042, r=evilpie)
This commit is contained in:
parent
5747365305
commit
b43c4fb0a4
@ -260,7 +260,7 @@ JSONSpewer::spewMDef(MDefinition *def)
|
||||
Sprinter sp(GetIonContext()->cx);
|
||||
sp.init();
|
||||
def->range()->print(sp);
|
||||
stringProperty("type", "%s : %s", sp.string());
|
||||
stringProperty("type", "%s : %s", sp.string(), StringFromMIRType(def->type()));
|
||||
} else {
|
||||
stringProperty("type", "%s", StringFromMIRType(def->type()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user