~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tools/test-js-optimizer-asm-regs-min.js

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
function collideLocal(x) {
2
 
  x = x | 0;
3
 
  var a = 0;
4
 
  a = x*x;
5
 
  aGlobal(a); // aGlobal needs to be minified into a, but a is used!
6
 
  bGlobal(x);
 
2
 x = x | 0;
 
3
 var a = 0;
 
4
 a = x*x;
 
5
 aGlobal(a); // aGlobal needs to be minified into a, but a is used!
 
6
 bGlobal(x);
7
7
}
8
8
function collideLocal(x) {
9
 
  x = x | 0;
10
 
  var i1 = 0;
11
 
  i1 = x*x;
12
 
  aGlobal(i1);
13
 
  bGlobal(x); // bGlobal needs to be minified into i1, but i1 is used!
 
9
 x = x | 0;
 
10
 var i1 = 0;
 
11
 i1 = x*x;
 
12
 aGlobal(i1);
 
13
 bGlobal(x); // bGlobal needs to be minified into i1, but i1 is used!
14
14
}
15
15
function collideLocal(a) {
16
 
  a = a | 0;
17
 
  var x = 0;
18
 
  x = a*a;
19
 
  aGlobal(x); // aGlobal needs to be minified into a, but a is used by a param!
20
 
  bGlobal(a);
21
 
}
22
 
function collideLocal(i1) {
23
 
  i1 = i1 | 0;
24
 
  var x = 0;
25
 
  x = i1*i1;
26
 
  aGlobal(x);
27
 
  bGlobal(i1); // bGlobal needs to be minified into i1, but i1 is used by a param!
28
 
}
29
 
function collideLocal(i1) {
30
 
  i1 = i1 | 0;
31
 
  var a = 0;
32
 
  a = i1*i1;
33
 
  aGlobal(a); // multiple collisions, a and i1
34
 
  bGlobal(i1);
 
16
 a = a | 0;
 
17
 var x = 0;
 
18
 x = a*a;
 
19
 aGlobal(x); // aGlobal needs to be minified into a, but a is used by a param!
 
20
 bGlobal(a);
 
21
}
 
22
function collideLocal(i1) {
 
23
 i1 = i1 | 0;
 
24
 var x = 0;
 
25
 x = i1*i1;
 
26
 aGlobal(x);
 
27
 bGlobal(i1); // bGlobal needs to be minified into i1, but i1 is used by a param!
 
28
}
 
29
function collideLocal(i1) {
 
30
 i1 = i1 | 0;
 
31
 var a = 0;
 
32
 a = i1*i1;
 
33
 aGlobal(a); // multiple collisions, a and i1
 
34
 bGlobal(i1);
35
35
}
36
36
// EMSCRIPTEN_GENERATED_FUNCTIONS
37
 
// MINIFY_INFO: { "names": ["a", "b", "c", "d", "e", "f", "g", "h", "i", "i1", "cl"], "globals": { "aGlobal": "a", "bGlobal": "i1", "collideLocal": "cl" } }
 
37
// EXTRA_INFO: { "names": ["a", "b", "c", "d", "e", "f", "g", "h", "i", "i1", "cl"], "globals": { "aGlobal": "a", "bGlobal": "i1", "collideLocal": "cl" } }