Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: include/v8.h

Issue 862923002: CHECK that FunctionTemplates are not modified after first instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 7a838d81030d12d2cb135f964071784424c56ecc..a11346247b1ecdf115d91d709af98ee5b0b381f0 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -3703,6 +3703,9 @@ typedef bool (*IndexedSecurityCallback)(Local<Object> host,
* temporary functions that can be collected using Scripts is
* preferred.
*
+ * Any modification of a FunctionTemplate after first instantiation will trigger
+ *a crash.
+ *
* A FunctionTemplate can have properties, these properties are added to the
* function object when it is created.
*
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698