mirror of https://github.com/lukechilds/node.git
Browse Source
Every constant is certainly 4 bytes now, but freebsd's objdump utility prints out odd byte sequences (5-bytes, 6-bytes and even 9-bytes long) for v8's data section. We can safely ignore all upper bytes, because all constants that we're using are just `int`s. Since on all supported platforms `int` is 32bit long (and anyway v8's constants are 32bit too), we ignore all higher bits if they were read.v0.11.0-release
Fedor Indutny
12 years ago
committed by
Ben Noordhuis
1 changed files with 20 additions and 7 deletions
Loading…
Reference in new issue