File: bad_params.asm.js

package info (click to toggle)
binaryen 68-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,900 kB
  • sloc: cpp: 57,351; ansic: 3,562; python: 2,898; sh: 700; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function asm(global, env, buffer) {
  "use asm";

  function missing(x, y) {
    x = x | 0;
    y = +y;
  }

  function extra(x, y) {
    x = x | 0;
    y = +y;
  }

  function mix(a) {
    a = a | 0;
  }

  function ex() {
    missing();
    missing(1);
    extra(1, +2, 3);
    extra(1, +2, 3, 4);
    mix();
    mix(1);
    mix(1, 2);
  }

  return { ex: ex };
}