inline_call_bailout.js 1.0 KB

12345678910111213141516171819202122232425262728
  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. //Configuration: inline.xml
  6. //Testcase Number: 20382
  7. //Switches: -maxinterpretcount:4 -forceserialized -bgjit- -loopinterpretcount:1 -off:lossyinttypespec -off:arraycheckhoist -version:5
  8. //Baseline Switches: -nonative -version:5
  9. //Branch: fbl_ie_script
  10. //Build: 130517-2000
  11. //Arch: AMD64
  12. //MachineName: BPT02339
  13. //InstructionSet: SSE2
  14. function test0(){
  15. var func2 = function() {}
  16. function bar1 (argMath12,argMath13){
  17. WScript.Echo(argMath12);
  18. }
  19. function bar3 (argMath16,argMath17){
  20. bar1.call(null , argMath16, (((argMath16++ ) instanceof func2)) * func2.call(null));
  21. }
  22. bar3(false);
  23. };
  24. // generate profile
  25. test0();
  26. test0();