mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1037898 - Remove pointless and incorrectly used TypeSet constructor calls, r=jandem.
This commit is contained in:
parent
36dd7708d0
commit
5dfee2a699
@ -3656,16 +3656,10 @@ JSScript::makeTypes(JSContext *cx)
|
||||
if (!typeScript)
|
||||
return false;
|
||||
|
||||
new(typeScript) TypeScript();
|
||||
|
||||
TypeSet *typeArray = typeScript->typeArray();
|
||||
|
||||
for (unsigned i = 0; i < count; i++)
|
||||
new (&typeArray[i]) StackTypeSet();
|
||||
|
||||
types = typeScript;
|
||||
|
||||
#ifdef DEBUG
|
||||
StackTypeSet *typeArray = typeScript->typeArray();
|
||||
for (unsigned i = 0; i < nTypeSets(); i++) {
|
||||
InferSpew(ISpewOps, "typeSet: %sT%p%s bytecode%u #%u",
|
||||
InferSpewColor(&typeArray[i]), &typeArray[i], InferSpewColorReset(),
|
||||
|
Loading…
Reference in New Issue
Block a user