summaryrefslogtreecommitdiff
path: root/deps/v8/tools
diff options
context:
space:
mode:
authorJan Krems <jan.krems@groupon.com>2017-11-09 06:46:20 -0800
committerJan Krems <jan.krems@groupon.com>2017-11-25 12:21:21 -0800
commit3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92 (patch)
tree4210be30683132d5d2834444fb4e00b16de82612 /deps/v8/tools
parent29423b49c78f7880fa07f52447ce17c2c4aff5bc (diff)
downloadandroid-node-v8-3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92.tar.gz
android-node-v8-3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92.tar.bz2
android-node-v8-3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92.zip
deps: cherry-pick dbfe4a49d8 from upstream V8
Original commit message: Introduce ScriptOrModule and HostDefinedOptions This patch introduces a new container type ScriptOrModule which provides the name and the host defined options of the script/module. This patch also introduces a new PrimitivesArray that can hold Primitive values, which the embedder can use to store metadata. The HostDefinedOptions is passed to V8 through the ScriptOrigin, and passed back to the embedder through HostImportModuleDynamically for module loading. Bug: v8:5785, v8:6658, v8:6683 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I56c26fc9a680b273ac0a6691e5ad75f15b8dc80a Reviewed-on: https://chromium-review.googlesource.com/622158 Reviewed-by: Adam Klein <adamk@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#47724} PR-URL: https://github.com/nodejs/node/pull/16889 Refs: https://github.com/v8/v8/commit/dbfe4a49d88f6655ed31285a40b63786ab1e8e49 Refs: https://github.com/nodejs/node/pull/15713 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'deps/v8/tools')
-rw-r--r--deps/v8/tools/v8heapconst.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/deps/v8/tools/v8heapconst.py b/deps/v8/tools/v8heapconst.py
index 3fb29d84da..54997ab3ff 100644
--- a/deps/v8/tools/v8heapconst.py
+++ b/deps/v8/tools/v8heapconst.py
@@ -297,24 +297,24 @@ KNOWN_OBJECTS = {
("OLD_SPACE", 0x026a9): "EmptyFixedUint32Array",
("OLD_SPACE", 0x026c9): "EmptyFixedInt32Array",
("OLD_SPACE", 0x026e9): "EmptyFixedFloat32Array",
- ("OLD_SPACE", 0x02709): "EmptyFixedFloat64Array",
- ("OLD_SPACE", 0x02729): "EmptyFixedUint8ClampedArray",
- ("OLD_SPACE", 0x02749): "EmptyScript",
- ("OLD_SPACE", 0x027c9): "UndefinedCell",
- ("OLD_SPACE", 0x027d9): "EmptySloppyArgumentsElements",
- ("OLD_SPACE", 0x027f9): "EmptySlowElementDictionary",
- ("OLD_SPACE", 0x02841): "EmptyPropertyCell",
- ("OLD_SPACE", 0x02869): "EmptyWeakCell",
- ("OLD_SPACE", 0x02879): "ArrayProtector",
- ("OLD_SPACE", 0x028a1): "IsConcatSpreadableProtector",
- ("OLD_SPACE", 0x028b1): "SpeciesProtector",
- ("OLD_SPACE", 0x028d9): "StringLengthProtector",
- ("OLD_SPACE", 0x028e9): "FastArrayIterationProtector",
- ("OLD_SPACE", 0x028f9): "ArrayIteratorProtector",
- ("OLD_SPACE", 0x02921): "ArrayBufferNeuteringProtector",
- ("OLD_SPACE", 0x02949): "InfinityValue",
- ("OLD_SPACE", 0x02959): "MinusZeroValue",
- ("OLD_SPACE", 0x02969): "MinusInfinityValue",
+ ("OLD_SPACE", 0x02719): "EmptyFixedFloat64Array",
+ ("OLD_SPACE", 0x02739): "EmptyFixedUint8ClampedArray",
+ ("OLD_SPACE", 0x02759): "EmptyScript",
+ ("OLD_SPACE", 0x027e1): "UndefinedCell",
+ ("OLD_SPACE", 0x027f1): "EmptySloppyArgumentsElements",
+ ("OLD_SPACE", 0x02811): "EmptySlowElementDictionary",
+ ("OLD_SPACE", 0x02859): "EmptyPropertyCell",
+ ("OLD_SPACE", 0x02881): "EmptyWeakCell",
+ ("OLD_SPACE", 0x02891): "ArrayProtector",
+ ("OLD_SPACE", 0x028b9): "IsConcatSpreadableProtector",
+ ("OLD_SPACE", 0x028c9): "SpeciesProtector",
+ ("OLD_SPACE", 0x028f1): "StringLengthProtector",
+ ("OLD_SPACE", 0x02901): "FastArrayIterationProtector",
+ ("OLD_SPACE", 0x02911): "ArrayIteratorProtector",
+ ("OLD_SPACE", 0x02939): "ArrayBufferNeuteringProtector",
+ ("OLD_SPACE", 0x02961): "InfinityValue",
+ ("OLD_SPACE", 0x02971): "MinusZeroValue",
+ ("OLD_SPACE", 0x02981): "MinusInfinityValue",
}
# List of known V8 Frame Markers.