mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
2.5 KiB
129 lines
2.5 KiB
/*
|
|
* Loading integer constant to register; const fits LDINT+LDINTX.
|
|
*/
|
|
|
|
if (typeof print !== 'function') { print = console.log; }
|
|
|
|
function test() {
|
|
var i;
|
|
var t;
|
|
|
|
for (i = 0; i < 1e7; i++) {
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
|
|
t = 123456780;
|
|
t = 123456781;
|
|
t = 123456782;
|
|
t = 123456783;
|
|
t = 123456784;
|
|
t = 123456785;
|
|
t = 123456786;
|
|
t = 123456787;
|
|
t = 123456788;
|
|
t = 123456789;
|
|
}
|
|
}
|
|
|
|
try {
|
|
test();
|
|
} catch (e) {
|
|
print(e.stack || e);
|
|
throw e;
|
|
}
|
|
|