Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 10573) |
+++ include/v8.h (working copy) |
@@ -3539,6 +3539,12 @@ |
void AllowCodeGenerationFromStrings(bool allow); |
/** |
+ * Returns true if code generation from strings is allowed for the context. |
+ * For more details see AllowCodeGenerationFromStrings(bool) documentation. |
+ */ |
+ bool IsCodeGenerationFromStringsAllowed(); |
+ |
+ /** |
* Stack-allocated class which sets the execution context for all |
* operations executed within a local scope. |
*/ |