mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 925729 - SpiderMonkey: Fix memset size. r=me
This commit is contained in:
parent
104fc08720
commit
7b4eb026e6
@ -2421,7 +2421,7 @@ EmitSwitch(ExclusiveContext *cx, BytecodeEmitter *bce, ParseNode *pn)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memset(intmap, 0, size_t(intmap_bitlen) / JS_BITMAP_NBITS);
|
||||
memset(intmap, 0, size_t(intmap_bitlen) / CHAR_BIT);
|
||||
}
|
||||
if (JS_TEST_BIT(intmap, i)) {
|
||||
switchOp = JSOP_CONDSWITCH;
|
||||
|
Loading…
Reference in New Issue
Block a user