aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-relocate.js
blob: a45bc2f04998994c3df878a185d900e18f0e094d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function leaveMeAlone(c) {
}
function replaceMe(a, b) {
}
function a(x, y) {
  replaceMe(H_BASE + 1, F_BASE + 2);
  replaceMe(H_BASE + 1 | 0, F_BASE + 2 | 0);
  leaveMeAlone(F_BASE + x, H_BASE + y);
  leaveMeAlone(F_BASE + x | 0, H_BASE + y | 0);
}
// EMSCRIPTEN_GENERATED_FUNCTIONS
// EXTRA_INFO: { "replacements": { "replaceMe": "fixed" }, "hBase": 33, "fBase": 10 }