Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Bugfix for line number of internal variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimvar committed Oct 31, 2011
1 parent 29cb694 commit fcb2abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cfa2/jscfa.js
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ function tagVarRefsId(classifyEvents) {
}
//print("global: " + varname + " :: " + n.lineno);
n.type = DOT;
var nthis = idNode({}, "internalVar: global object");
var nthis = idNode({lineno: n.lineno}, "internalVar: global object");
nthis.kind = HEAP;
if (classifyEvents && varname === "addEventListener")
nthis.addr = chrome_obj_av_addr;
Expand Down

0 comments on commit fcb2abd

Please sign in to comment.