test128.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. var shouldBailout = false;
  6. function test0() {
  7. var litObj0 = { prop1: 3.14159265358979 };
  8. var IntArr0 = new Array(-2664941844011450000, 7899446760907481000);
  9. var b = 1;
  10. var aliasOfLitObj0 = litObj0;
  11. ;
  12. e = 1 > 1;
  13. IntArr0[('prop0' in aliasOfLitObj0 >= 0 ? 'prop0' in aliasOfLitObj0 : 0) & 15] = --e;
  14. v7082 = {};
  15. for(v7083 = 0; v7083 < 10; v7083++) {
  16. b += v7083;
  17. }
  18. v7084 = 'abcdefghij' + (v7082 += 1) + IntArr0[((shouldBailout ? IntArr0[({
  19. prop0: 1,
  20. prop1: 1
  21. } >= 0 ? {
  22. prop0: 1,
  23. prop1: 1
  24. } : 0) & 15] = 'x' : undefined, {
  25. prop0: 1,
  26. prop1: 1
  27. }) >= 0 ? {
  28. prop0: 1,
  29. prop1: 1
  30. } : 0) & 15]();
  31. v7085 = 'abcdefghij' + (v7082 += 1) + e;
  32. GiantPrintArray.push(v7084 + e);
  33. }
  34. try {
  35. test0();
  36. test0();
  37. test0();
  38. runningJITtedCode = true;
  39. test0();
  40. shouldBailout = true;
  41. test0();
  42. }
  43. catch(ex) {
  44. WScript.Echo(ex.message);
  45. }