basic.asm_module.js 846 B

12345678910111213141516171819202122232425262728293031
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function asmModule($a,$b,$c){
  6. 'use asm';
  7. function func0()
  8. {
  9. return 2|0;
  10. }
  11. function func1(param0)
  12. {
  13. param0 = param0|0;
  14. var local0 = 0;
  15. if ((26|0) > (25|0))
  16. {
  17. local0 = (local0 + 4)|0;
  18. }
  19. local0 = (local0 + 4)|0;
  20. local0 = (local0 + 4)|0;
  21. local0 = (local0 + 2)|0;
  22. return (local0 + 42) | 0;
  23. //return 0;
  24. }
  25. return {a:func1};
  26. }