Skip to content

Commit

Permalink
Fix ASM warnings in MP3 library
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Mar 13, 2019
1 parent fbda313 commit ba501a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions components/mp3lameencoder/lib/Mp3LameEncoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -44293,7 +44293,7 @@ function _memset(ptr, value, num) {
}
}
while ((ptr|0) < (stop4|0)) {
HEAP32[((ptr)>>2)]=value4;
HEAP32[ptr>>2]=value4;
ptr = (ptr+4)|0;
}
}
Expand Down Expand Up @@ -44349,14 +44349,14 @@ function _memcpy(dest, src, num) {
num = (num-1)|0;
}
while ((num|0) >= 4) {
HEAP32[((dest)>>2)]=((HEAP32[((src)>>2)])|0);
HEAP32[dest>>2]=((HEAP32[src>>2])|0);
dest = (dest+4)|0;
src = (src+4)|0;
num = (num-4)|0;
}
}
while ((num|0) > 0) {
HEAP8[((dest)>>0)]=((HEAP8[((src)>>0)])|0);
HEAP8[dest>>0]=((HEAP8[src>>0])|0);
dest = (dest+1)|0;
src = (src+1)|0;
num = (num-1)|0;
Expand Down
6 changes: 3 additions & 3 deletions js/Mp3LameEncoder.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -44293,7 +44293,7 @@ function _memset(ptr, value, num) {
}
}
while ((ptr|0) < (stop4|0)) {
HEAP32[((ptr)>>2)]=value4;
HEAP32[ptr>>2]=value4;
ptr = (ptr+4)|0;
}
}
Expand Down Expand Up @@ -44349,14 +44349,14 @@ function _memcpy(dest, src, num) {
num = (num-1)|0;
}
while ((num|0) >= 4) {
HEAP32[((dest)>>2)]=((HEAP32[((src)>>2)])|0);
HEAP32[dest>>2]=((HEAP32[src>>2])|0);
dest = (dest+4)|0;
src = (src+4)|0;
num = (num-4)|0;
}
}
while ((num|0) > 0) {
HEAP8[((dest)>>0)]=((HEAP8[((src)>>0)])|0);
HEAP8[dest>>0]=((HEAP8[src>>0])|0);
dest = (dest+1)|0;
src = (src+1)|0;
num = (num-1)|0;
Expand Down

0 comments on commit ba501a6

Please sign in to comment.