Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 93c39281ca90f728627bf73745089db317868abc..14f36f6c7b91f5e8aa5f767f1fbf744d7ae0a77d 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5256,6 +5256,8 @@ class Code: public HeapObject { |
// function replaces the corresponding placeholder in the code with the |
// object-to-replace. The function assumes that pairs in the pattern come in |
// the same order as the placeholders in the code. |
+ // If the placeholder is a weak cell, then the value of weak cell is matched |
+ // against the map-to-find. |
void FindAndReplace(const FindAndReplacePattern& pattern); |
// The entire code object including its header is copied verbatim to the |