зеркало из https://github.com/mozilla/gecko-dev.git
Improve one comment slightly.
This commit is contained in:
Родитель
40334ba064
Коммит
3fb113994f
|
@ -2623,9 +2623,9 @@ js_SetProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
|
||||||
if (pobj != obj) {
|
if (pobj != obj) {
|
||||||
/*
|
/*
|
||||||
* We found id in a prototype object: prepare to share or shadow.
|
* We found id in a prototype object: prepare to share or shadow.
|
||||||
* NB: Thanks to the garbage-collected property tree maintained
|
* NB: Thanks to the immutable, garbage-collected property tree
|
||||||
* by jsscope.c in rt, we need not worry about sprop going away
|
* maintained by jsscope.c in rt, we need not worry about sprop
|
||||||
* behind our back after we've unlocked scope.
|
* going away behind our back after we've unlocked scope.
|
||||||
*/
|
*/
|
||||||
JS_UNLOCK_SCOPE(cx, scope);
|
JS_UNLOCK_SCOPE(cx, scope);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче