iffuncdecl.js 586 B

12345678910111213141516171819202122232425
  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 test0(){
  6. if((function () {;})) {
  7. }
  8. };
  9. // generate profile
  10. test0();
  11. test0();
  12. test0();
  13. test0();
  14. // run JITted code
  15. runningJITtedCode = true;
  16. test0();
  17. test0();
  18. test0();
  19. test0();