Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ec1941e6fd86eec42707e4d41011112961fe2109..dab3a05991737650d53595af9df024d43b08feee 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4835,6 +4835,18 @@ class V8_EXPORT Isolate { |
*/ |
void SetStackLimit(uintptr_t stack_limit); |
+ /** |
+ * Returns a memory range that can potentially contain jitted code. |
+ * |
+ * On Win64, embedders are advised to install function table callbacks for |
+ * these ranges, as default SEH won't be able to unwind through jitted code. |
+ * |
+ * Might be empty on other platforms. |
+ * |
+ * https://code.google.com/p/v8/issues/detail?id=3598 |
+ */ |
+ void GetCodeRange(void** start, size_t* length_in_bytes); |
+ |
private: |
template<class K, class V, class Traits> friend class PersistentValueMap; |