Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tools: speed up genv8constants
Browse files Browse the repository at this point in the history
genv8constants was much slower than necessary due to lack of pipe buffering.
  • Loading branch information
davepacheco authored and bnoordhuis committed Jul 17, 2012
1 parent 868ffed commit 648fdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/genv8constants.py
Expand Up @@ -17,7 +17,7 @@

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

Expand Down

0 comments on commit 648fdc5

Please sign in to comment.