Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 241a19aa1c375e4abdb1ad15c6d66d210b397a55..c1961b4fa0a835c9dc66dee269394feb36620475 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -444,6 +444,9 @@ class Factory V8_FINAL { |
// Create an External object for V8's external API. |
Handle<JSObject> NewExternal(void* value); |
+ // The reference to the Code object is stored in self_reference. |
+ // This allows generated code to reference its own Code object |
+ // by containing this handle. |
Handle<Code> NewCode(const CodeDesc& desc, |
Code::Flags flags, |
Handle<Object> self_reference, |