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
This commit is contained in:
peter.rybin@gmail.com 2010-12-24 02:44:35 +00:00
parent 16800adf57
commit fba2ef6c0f

View File

@ -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]);
}
}
}