diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-29 05:07:07 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-29 05:11:00 +0200 |
commit | 34b0a36120a039968a87342b048d1596782524b0 (patch) | |
tree | d02925fc398a597e6fb482386e0b02d05781451e /node.gyp | |
parent | 1bd711c8a09e327946f2eca5030e9710dc0e1e6e (diff) | |
download | node-34b0a36120a039968a87342b048d1596782524b0.tar.gz |
src: don't use NewExternal() with unaligned strings
V8 3.20.9 enforces that external pointers are aligned on a two-byte
boundary.
We cannot portably guarantee that for the source code strings that
tools/js2c.py generates so simply stop using String::NewExternal()
altogether (and by extension String::ExternalAsciiStringResource).
Fixes the following run-time assert:
FATAL ERROR: v8::String::NewExternal() Pointer is not aligned
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -101,7 +101,6 @@ 'src/node_os.cc', 'src/node_script.cc', 'src/node_stat_watcher.cc', - 'src/node_string.cc', 'src/node_watchdog.cc', 'src/node_zlib.cc', 'src/pipe_wrap.cc', @@ -127,7 +126,6 @@ 'src/node_os.h', 'src/node_root_certs.h', 'src/node_script.h', - 'src/node_string.h', 'src/node_version.h', 'src/node_watchdog.h', 'src/node_wrap.h', |