mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1212624 - Make WeakMapBase be a LinkedListElement, r=Waldo
This commit is contained in:
parent
02621bd19a
commit
42ddbe6136
@ -7,13 +7,14 @@ import subprocess
|
||||
|
||||
def get_all_toplevel_filenames():
|
||||
'''Get a list of all the files in the (Mercurial or Git) repository.'''
|
||||
failed_cmds = []
|
||||
try:
|
||||
cmd = ['hg', 'manifest', '-q']
|
||||
all_filenames = subprocess.check_output(cmd, universal_newlines=True,
|
||||
stderr=subprocess.PIPE).split('\n')
|
||||
return all_filenames
|
||||
except:
|
||||
pass
|
||||
failed_cmds.append(cmd)
|
||||
|
||||
try:
|
||||
# Get the relative path to the top-level directory.
|
||||
@ -25,6 +26,6 @@ def get_all_toplevel_filenames():
|
||||
stderr=subprocess.PIPE).split('\n')
|
||||
return all_filenames
|
||||
except:
|
||||
pass
|
||||
failed_cmds.append(cmd)
|
||||
|
||||
raise Exception('failed to run any of the repo manifest commands', cmds)
|
||||
raise Exception('failed to run any of the repo manifest commands', failed_cmds)
|
||||
|
@ -119,8 +119,9 @@ WeakMapBase::sweepZone(JS::Zone* zone)
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
for (WeakMapBase* m : zone->gcWeakMapList)
|
||||
for (WeakMapBase* m : zone->gcWeakMapList) {
|
||||
MOZ_ASSERT(m->isInList() && m->marked);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user