Commit fba2ef6c authored by peter.rybin@gmail.com's avatar peter.rybin@gmail.com

Fix variable conflict in nested for statement

Review URL: http://codereview.chromium.org/5961011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6118 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 16800adf
......@@ -144,8 +144,8 @@ Debug.LiveEdit = new function() {
replace_code_list[i].live_shared_function_infos;
if (live_shared_function_infos) {
for (var i = 0; i < live_shared_function_infos.length; i++) {
replaced_function_infos.push(live_shared_function_infos[i]);
for (var j = 0; j < live_shared_function_infos.length; j++) {
replaced_function_infos.push(live_shared_function_infos[j]);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment