summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2015-09-29 14:30:22 -0500
committerEvan Lucas <evanlucas@me.com>2015-10-05 20:24:08 -0500
commit88533881dd296236a44ad36aa7afb8336298540f (patch)
tree781f8a0c3dcb24a6f9794129e78a6bdddb3efdc4 /node.gyp
parent089d6886178864b56fdd5dc2bcfc8f207aa4326c (diff)
downloadandroid-node-v8-88533881dd296236a44ad36aa7afb8336298540f.tar.gz
android-node-v8-88533881dd296236a44ad36aa7afb8336298540f.tar.bz2
android-node-v8-88533881dd296236a44ad36aa7afb8336298540f.zip
util: correctly inspect Map/Set Iterators
Previously, a MapIterator or SetIterator would not be inspected properly. This change makes it possible to inspect them by creating a Debug Mirror and previewing the iterators to not consume the actual iterator that we are trying to inspect. This change also adds a node_util binding that uses v8's Value::IsSetIterator and Value::IsMapIterator to verify that the values passed in are actual iterators. Fixes: https://github.com/nodejs/node/issues/3107 PR-URL: https://github.com/nodejs/node/pull/3119 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 9575f4cbcd..ece9eeec2c 100644
--- a/node.gyp
+++ b/node.gyp
@@ -115,6 +115,7 @@
'src/node_javascript.cc',
'src/node_main.cc',
'src/node_os.cc',
+ 'src/node_util.cc',
'src/node_v8.cc',
'src/node_stat_watcher.cc',
'src/node_watchdog.cc',