aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-08 17:40:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-08 17:40:52 -0800
commitb00fb4e8d96e01fe1a21b2a70eb64e62ca6a996f (patch)
tree9d18893e7da159b96409152d6289198ab7a3d748 /src/parseTools.js
parent834c4b54db3c6f48b98b7864e2ba7053cab4473f (diff)
fix breakage in ta0 and ta1
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 2e7e3f83..d14802a1 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1094,7 +1094,7 @@ function makeCopyValues(dest, src, num, type, modifier, align) {
return unroll(type, num);
}
return 'for (var $$i = 0; $$i < ' + num + '; $$i++) {\n' +
- makeSetValue(dest, '$$i', makeGetValue(src, i*jump, type), type) + '\n}';
+ makeSetValue(dest, '$$i', makeGetValue(src, i, type), type) + '\n}';
} else { // USE_TYPED_ARRAYS == 2
// If we don't know how to handle this at compile-time, or handling it is best done in a large amount of code, call memset
if (!isNumber(num) || (align < 4 && parseInt(num) >= SEEK_OPTIMAL_ALIGN_MIN)) {