summaryrefslogtreecommitdiff
path: root/deps/v8/tools/codemap.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/codemap.js')
-rw-r--r--deps/v8/tools/codemap.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/tools/codemap.js b/deps/v8/tools/codemap.js
index fa6c36b50b..30cdc21db5 100644
--- a/deps/v8/tools/codemap.js
+++ b/deps/v8/tools/codemap.js
@@ -246,6 +246,14 @@ CodeMap.prototype.getAllStaticEntries = function() {
/**
+ * Returns an array of pairs of all static code entries and their addresses.
+ */
+CodeMap.prototype.getAllStaticEntriesWithAddresses = function() {
+ return this.statics_.exportKeysAndValues();
+};
+
+
+/**
* Returns an array of all libraries entries.
*/
CodeMap.prototype.getAllLibrariesEntries = function() {