From 6a5ff34d77f38a57b9548f6b7c2eaaa89f4c993e Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Mon, 10 Jul 2006 21:11:47 +0000 Subject: [PATCH] Comment update for last patch (344139, r=mrbkap). git-svn-id: svn://10.0.0.236/trunk@201839 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/src/jsemit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/js/src/jsemit.c b/mozilla/js/src/jsemit.c index 6adf392aa66..7a1c30773b8 100644 --- a/mozilla/js/src/jsemit.c +++ b/mozilla/js/src/jsemit.c @@ -1831,6 +1831,10 @@ EmitAtomOp(JSContext *cx, JSParseNode *pn, JSOp op, JSCodeGenerator *cg) * or not pn->pn_op was modified, if this function finds an argument or local * variable name, pn->pn_attrs will contain the property's attributes after a * successful return. + * + * NB: if you add more opcodes specialized from JSOP_NAME, etc., don't forget + * to update the TOK_FOR (for-in) and TOK_ASSIGN (op=, e.g. +=) special cases + * in js_EmitTree. */ static JSBool BindNameToSlot(JSContext *cx, JSTreeContext *tc, JSParseNode *pn)