Index: src/v8.h |
diff --git a/src/v8.h b/src/v8.h |
index adfdb3ea8858204faab2e84678c3b47423f769aa..699c5a09b932e3e2877c51120f6cd51e1962d6d6 100644 |
--- a/src/v8.h |
+++ b/src/v8.h |
@@ -95,6 +95,9 @@ class V8 : public AllStatic { |
// Allows an entropy source to be provided for use in random number |
// generation. |
static void SetEntropySource(EntropySource source); |
+ // Support for return-address rewriting profilers. |
+ static void SetReturnAddressLocationResolver( |
+ ReturnAddressLocationResolver resolver); |
// Random number generation support. Not cryptographically safe. |
static uint32_t Random(Context* context); |
// We use random numbers internally in memory allocation and in the |