Revision: 6118
Author: [email protected]
Date: Thu Dec 23 18:44:35 2010
Log: Fix variable conflict in nested for statement
Review URL: http://codereview.chromium.org/5961011
http://code.google.com/p/v8/source/detail?r=6118
Modified:
/branches/bleeding_edge/src/liveedit-debugger.js
=======================================
--- /branches/bleeding_edge/src/liveedit-debugger.js Tue Dec 7 03:31:57
2010
+++ /branches/bleeding_edge/src/liveedit-debugger.js Thu Dec 23 18:44:35
2010
@@ -144,8 +144,8 @@
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]);
}
}
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev