mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 03:43:58 +00:00
18a4346991
This comment is for checkin of version 1.8: mistakenly gave wrong comment for that version. Fix 123724 hippo: problems declaring var in an eval statement The problem was that Variable() in jsparse.c used the scope from calling js_FindVariableScope to determine whether or not to convert the operator to GETVAR, but LookupArgOrVar did not. This caused a mismatched set and get in the code generated from the eval script due to the presence of the var in the function frame.