Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 6242198ec33e9f0e1f022c9ebef5bcadd42fef00..09a065c5304e923361df4536b1d778566964274d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2406,6 +2406,8 @@ MaybeObject* JSObject::SetPropertyForResult(LookupResult* result, |
// callback setter removed. The two lines looking up the LookupResult |
// result are also added. If one of the functions is changed, the other |
// should be. |
+// Note that this method cannot be used to set the prototype of a function (it |
Mads Ager (chromium)
2011/07/11 10:12:54
If you want a note here I think it should explain
|
+// will silently fail). |
MaybeObject* JSObject::SetLocalPropertyIgnoreAttributes( |
String* name, |
Object* value, |