box_bailout.js 858 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 escape()
  6. {
  7. }
  8. function test0(){
  9. function bar0 (){
  10. }
  11. if (doit)
  12. {
  13. escape(bar0);
  14. }
  15. (function(){
  16. //Snippets:newobjinlining3.ecs
  17. function v375952()
  18. {
  19. }
  20. function v375957()
  21. {
  22. v375952.prototype = {};
  23. }
  24. if (doit) {
  25. v375957();
  26. v375957();
  27. }
  28. //Snippet From Var
  29. })();
  30. };
  31. var doit = false;
  32. // generate profile
  33. test0();
  34. doit = true;
  35. // run JITted code
  36. test0();