mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
correct small problems in test
This commit is contained in:
parent
481bffe31a
commit
4ed31cd8f9
@ -61,8 +61,7 @@ public class Wide extends AbstractBaseTest {
|
||||
* more as 255 variable slots
|
||||
* @return
|
||||
*/
|
||||
@Export
|
||||
static int wide( boolean then) {
|
||||
private static int wide( boolean then) {
|
||||
int i = 42;
|
||||
if( then ) {
|
||||
for( int j = 0; j < 10; j++ ) {
|
||||
@ -223,7 +222,7 @@ public class Wide extends AbstractBaseTest {
|
||||
double c48 = 48;
|
||||
double c49 = 49;
|
||||
|
||||
// a large block with more as 32 Kbyte of instructions that a goto_w instuction is needed
|
||||
// a large block with more as 32 KByte of instructions that a goto_w instruction is needed
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
@ -526,7 +525,7 @@ public class Wide extends AbstractBaseTest {
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000; c49 += 1000;
|
||||
|
||||
i = (int)c49;
|
||||
}
|
||||
|
||||
return i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user