summaryrefslogtreecommitdiff
path: root/src/js/primitives
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/primitives')
-rw-r--r--src/js/primitives/call.js2
-rw-r--r--src/js/primitives/mem.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/js/primitives/call.js b/src/js/primitives/call.js
index e38026f..a581c91 100644
--- a/src/js/primitives/call.js
+++ b/src/js/primitives/call.js
@@ -403,7 +403,7 @@ function scall() {
args_to_pass.push(sptr(arguments[i]));
} else {
args_to_pass.push(arguments[i]);
- if ((arguments[i] & 0xffff0000 == 0xffff0000 || arguments[i] & 0xffff0000 == 0xfffe0000) && (i == 1 || i == 3)) {
+ if ((arguments[i] & 0xffff0000 == 0xffff0000 || arguments[i] & 0xffff0000 == 0xfffe0000)/* && (i == 2 || i == 4)*/) {
force_callnarg = true;
}
}
diff --git a/src/js/primitives/mem.js b/src/js/primitives/mem.js
index 633a082..0c03090 100644
--- a/src/js/primitives/mem.js
+++ b/src/js/primitives/mem.js
@@ -336,7 +336,6 @@ function fakeobj(addy) {
function leak_vec(arr) {
var addy = addrof(arr);
- printf("%x\n", addy);
return read_u32(addy + VECTOR_OFFSET);
}
@@ -345,6 +344,4 @@ function setup_fancy_rw() {
write_u32(0x422290, 0x0);
fancy_rw = true;
-
- printf("%08x\n", u8x4_to_u32([parent[0x5000], parent[0x5001], parent[0x5002], parent[0x5003]]));
}