Skip to content

Commit 648fdc5

Browse files
davepachecobnoordhuis
authored andcommitted
tools: speed up genv8constants
genv8constants was much slower than necessary due to lack of pipe buffering.
1 parent 868ffed commit 648fdc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/genv8constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
outfile = file(sys.argv[1], 'w');
1919
pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ],
20-
stdout=subprocess.PIPE).stdout;
20+
bufsize=-1, stdout=subprocess.PIPE).stdout;
2121
pattern = re.compile('00000000 <(v8dbg_.*)>:');
2222
numpattern = re.compile('[0-9a-fA-F]{2}');
2323

0 commit comments

Comments
 (0)