Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .Lambda EcmaScript$6<System.Func`3[Microsoft.Scripting.Runtime.Scope,Microsoft.Scripting.Runtime.LanguageContext,System.Object]>(
  2.     Microsoft.Scripting.Runtime.Scope $$scope,
  3.     Microsoft.Scripting.Runtime.LanguageContext $$languagecontext) {
  4.     .Block(RemObjects.Script.EcmaScript.GlobalObject $$globals) {
  5.         .Block(System.Object $var1) {
  6.             .DebugInfo(main.js: 12, 1 - 18, 2);
  7.             $var1 = .Block() {
  8.                 $$globals = .Constant<RemObjects.Script.EcmaScript.GlobalObject>([object global]);
  9.                 .Call $$globals.SetScope($$scope);
  10.                 .Invoke (.Lambda <global>$5<RemObjects.Script.EcmaScript.InternalDelegate>)(
  11.                     null,
  12.                     $$globals,
  13.                     .NewArray System.Object[] {
  14.                     })
  15.             };
  16.             .DebugInfo(main.js: 16707566, 0 - 16707566, 0);
  17.             $var1
  18.         }
  19.     }
  20. }
  21.  
  22. .Lambda <global>$5<RemObjects.Script.EcmaScript.InternalDelegate>(
  23.     RemObjects.Script.EcmaScript.EcmaScriptFunctionObject $$scope,
  24.     System.Object $$this,
  25.     System.Object[] $args) {
  26.     .Block(
  27.         Microsoft.Scripting.Debugging.DebugThread $$thread,
  28.         System.Boolean $$framePushed,
  29.         Microsoft.Scripting.Debugging.FunctionInfo $$funcInfo,
  30.         System.Boolean[] $$traceLocations,
  31.         System.Int32 $$debugMarker,
  32.         System.Boolean $$frameExitException,
  33.         System.Object $$retVal,
  34.         System.Object $$retValFromGen,
  35.         RemObjects.Script.EcmaScript.IScopeObject $$newscope,
  36.         System.Object[] $$parameters,
  37.         System.Object $var2,
  38.         System.Object $local1,
  39.         System.Object $local12,
  40.         System.Object $local123,
  41.         System.Object $local1234,
  42.         Microsoft.Scripting.Debugging.DebugSourceFile $var3) {
  43.         .Label
  44.             .Block() {
  45.                 .Try {
  46.                     .Try {
  47.                         .Block() {
  48.                             $$funcInfo = (Microsoft.Scripting.Debugging.FunctionInfo).Constant<Microsoft.Scripting.Debugging.FunctionInfo>(Microsoft.Scripting.Debugging.FunctionInfo);
  49.                             $$traceLocations = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetTraceLocations($$funcInfo);
  50.                             $var3 = .Constant<Microsoft.Scripting.Debugging.DebugSourceFile>(Microsoft.Scripting.Debugging.DebugSourceFile);
  51.                             .Block() {
  52.                                 $$framePushed = True;
  53.                                 $$thread = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetCurrentThread(.Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext))
  54.                                 ;
  55.                                 .Call Microsoft.Scripting.Debugging.RuntimeOps.LiftVariables(
  56.                                     $$thread,
  57.                                     .RuntimeVariables(
  58.                                         $$funcInfo,
  59.                                         $$debugMarker,
  60.                                         $$scope,
  61.                                         $$this,
  62.                                         $args,
  63.                                         $$newscope,
  64.                                         $$parameters,
  65.                                         $var2,
  66.                                         $local1,
  67.                                         $local12,
  68.                                         $local123,
  69.                                         $local1234))
  70.                             };
  71.                             .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameEnterTraceEvent($$thread);
  72.                             .Block() {
  73.                                 $$retVal = .Block() {
  74.                                     .Block() {
  75.                                         $$parameters = .Call Microsoft.Scripting.Runtime.ScriptingRuntimeHelpers.ShiftParamsArray(
  76.                                             $args,
  77.                                             0);
  78.                                         .Label
  79.                                             .Block() {
  80.                                                 $$newscope = (RemObjects.Script.EcmaScript.GlobalObject)$$this;
  81.                                                 .Block() {
  82.                                                     .Block() {
  83.                                                         $$debugMarker = 0;
  84.                                                         .If ($var3.Mode > 1) {
  85.                                                             .If (
  86.                                                                 $var3.Mode == 3 || $$traceLocations[0]
  87.                                                             ) {
  88.                                                                 .Block() {
  89.                                                                     .Default(System.Void);
  90.                                                                     .Default(System.Void)
  91.                                                                 }
  92.                                                             } .Else {
  93.                                                                 .Default(System.Void)
  94.                                                             }
  95.                                                         } .Else {
  96.                                                             .Default(System.Void)
  97.                                                         }
  98.                                                     };
  99.                                                     $var2 = .Dynamic SetMember unicode(
  100.                                                         $$newscope,
  101.                                                         .Call (.New RemObjects.Script.EcmaScript.EcmaScriptArrayObject(
  102.                                                             $$newscope.Root,
  103.                                                             0)).AddValues(.NewArray System.Object[] {
  104.                                                                 "A",
  105.                                                                 "B",
  106.                                                                 "C",
  107.                                                                 "D",
  108.                                                                 "E",
  109.                                                                 "F",
  110.                                                                 "G",
  111.                                                                 "H",
  112.                                                                 "I",
  113.                                                                 "J",
  114.                                                                 "K",
  115.                                                                 "L",
  116.                                                                 "M",
  117.                                                                 "N",
  118.                                                                 "O",
  119.                                                                 "P",
  120.                                                                 "Q",
  121.                                                                 "R",
  122.                                                                 "S",
  123.                                                                 "T",
  124.                                                                 "U",
  125.                                                                 "V",
  126.                                                                 "W",
  127.                                                                 "X",
  128.                                                                 "Y",
  129.                                                                 "Z"
  130.                                                             }));
  131.                                                     .Default(System.Void);
  132.                                                     $var2
  133.                                                 };
  134.                                                 .Block() {
  135.                                                     .Block() {
  136.                                                         $$debugMarker = 1;
  137.                                                         .If ($var3.Mode > 1) {
  138.                                                             .If (
  139.                                                                 $var3.Mode == 3 || $$traceLocations[1]
  140.                                                             ) {
  141.                                                                 .Block() {
  142.                                                                     .Default(System.Void);
  143.                                                                     .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
  144.                                                                         $$thread,
  145.                                                                         1,
  146.                                                                         (System.Exception)null)
  147.                                                                 }
  148.                                                             } .Else {
  149.                                                                 .Default(System.Void)
  150.                                                             }
  151.                                                         } .Else {
  152.                                                             .Default(System.Void)
  153.                                                         }
  154.                                                     };
  155.                                                     $local1 = .Dynamic SetMember character(
  156.                                                         $$newscope,
  157.                                                         .Call (.New RemObjects.Script.EcmaScript.EcmaScriptArrayObject(
  158.                                                             $$newscope.Root,
  159.                                                             0)).AddValues(.NewArray System.Object[] {
  160.                                                                 "A",
  161.                                                                 "B",
  162.                                                                 "C",
  163.                                                                 "D",
  164.                                                                 "E",
  165.                                                                 "F",
  166.                                                                 "G",
  167.                                                                 "H",
  168.                                                                 "I",
  169.                                                                 "J",
  170.                                                                 "K",
  171.                                                                 "L",
  172.                                                                 "M",
  173.                                                                 "N",
  174.                                                                 "O",
  175.                                                                 "P",
  176.                                                                 "Q",
  177.                                                                 "R",
  178.                                                                 "S",
  179.                                                                 "T",
  180.                                                                 "U",
  181.                                                                 "V",
  182.                                                                 "W",
  183.                                                                 "X",
  184.                                                                 "Y",
  185.                                                                 "Z"
  186.                                                             }));
  187.                                                     .Default(System.Void);
  188.                                                     $local1
  189.                                                 };
  190.                                                 .Block() {
  191.                                                     .Block() {
  192.                                                         $$debugMarker = 2;
  193.                                                         .If ($var3.Mode > 1) {
  194.                                                             .If (
  195.                                                                 $var3.Mode == 3 || $$traceLocations[2]
  196.                                                             ) {
  197.                                                                 .Block() {
  198.                                                                     .Default(System.Void);
  199.                                                                     .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
  200.                                                                         $$thread,
  201.                                                                         2,
  202.                                                                         (System.Exception)null)
  203.                                                                 }
  204.                                                             } .Else {
  205.                                                                 .Default(System.Void)
  206.                                                             }
  207.                                                         } .Else {
  208.                                                             .Default(System.Void)
  209.                                                         }
  210.                                                     };
  211.                                                     .Block() {
  212.                                                         .Dynamic SetMember index(
  213.                                                             $$newscope,
  214.                                                             .Dynamic Convert System.Object(0));
  215.                                                         .Loop  {
  216.                                                             .Block() {
  217.                                                                 .If (
  218.                                                                     .Dynamic Convert System.Boolean(.Dynamic BinaryOperation LessThanOrEqual(
  219.                                                                             .Dynamic GetMember index($$newscope),
  220.                                                                             25))
  221.                                                                 ) {
  222.                                                                     .Default(System.Void)
  223.                                                                 } .Else {
  224.                                                                     .Block() {
  225.                                                                         .Default(System.Void);
  226.                                                                         .Break #Label1 { }
  227.                                                                     }
  228.                                                                 };
  229.                                                                 .Block() {
  230.                                                                     .Block() {
  231.                                                                         $$debugMarker = 3;
  232.                                                                         .If ($var3.Mode > 1) {
  233.                                                                             .If (
  234.                                                                                 $var3.Mode == 3 || $$traceLocations[3]
  235.                                                                             ) {
  236.                                                                                 .Block() {
  237.                                                                                     .Default(System.Void);
  238.                                                                                     .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
  239.                                                                                         $$thread,
  240.                                                                                         3,
  241.                                                                                         (System.Exception)null)
  242.                                                                                 }
  243.                                                                             } .Else {
  244.                                                                                 .Default(System.Void)
  245.                                                                             }
  246.                                                                         } .Else {
  247.                                                                             .Default(System.Void)
  248.                                                                         }
  249.                                                                     };
  250.                                                                     .If (
  251.                                                                         .Call RemObjects.Script.EcmaScript.ObjectExtensions.StrictNotEqual(
  252.                                                                             .Dynamic GetIndex(
  253.                                                                                 .Dynamic GetMember unicode($$newscope),
  254.                                                                                 .Dynamic GetMember index($$newscope)),
  255.                                                                             .Dynamic GetIndex(
  256.                                                                                 .Dynamic GetMember character($$newscope),
  257.                                                                                 .Dynamic GetMember index($$newscope)))
  258.                                                                     ) {
  259.                                                                         .Block() {
  260.                                                                             .Block() {
  261.                                                                                 $$debugMarker = 4;
  262.                                                                                 .If ($var3.Mode > 1) {
  263.                                                                                     .If (
  264.                                                                                         $var3.Mode == 3 || $$traceLocations[4]
  265.                                                                                     ) {
  266.                                                                                         .Block() {
  267.                                                                                             .Default(System.Void);
  268.                                                                                             .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
  269.                                                                                                 $$thread,
  270.                                                                                                 4,
  271.                                                                                                 (System.Exception)null)
  272.                                                                                         }
  273.                                                                                     } .Else {
  274.                                                                                         .Default(System.Void)
  275.                                                                                     }
  276.                                                                                 } .Else {
  277.                                                                                     .Default(System.Void)
  278.                                                                                 }
  279.                                                                             };
  280.                                                                             $local12 = .Dynamic RemObjects.Script.EcmaScript.ScopeInvokeBinder(
  281.                                                                                 $$newscope,
  282.                                                                                 $$newscope,
  283.                                                                                 .Dynamic BinaryOperation Add(
  284.                                                                                     .Dynamic BinaryOperation Add(
  285.                                                                                         "#",
  286.                                                                                         .Dynamic GetIndex(
  287.                                                                                             .Dynamic GetMember character($$newscope),
  288.                                                                                             .Dynamic GetMember index($$newscope))),
  289.                                                                                     " "));
  290.                                                                             .Default(System.Void);
  291.                                                                             $local12
  292.                                                                         }
  293.                                                                     } .Else {
  294.                                                                         .Default(System.Void)
  295.                                                                     };
  296.                                                                     .Default(System.Void)
  297.                                                                 };
  298.                                                                 .Label
  299.                                                                 .LabelTarget #Label2:;
  300.                                                                 .Block() {
  301.                                                                     $local123 = $$newscope;
  302.                                                                     $local1234 = .Dynamic GetMember index($local123);
  303.                                                                     .Dynamic SetMember index(
  304.                                                                         $local123,
  305.                                                                         .Dynamic BinaryOperation Add(
  306.                                                                             $local1234,
  307.                                                                             .Constant<System.Object>(1)));
  308.                                                                     $local1234
  309.                                                                 }
  310.                                                             }
  311.                                                         }
  312.                                                         .LabelTarget #Label1:
  313.                                                     };
  314.                                                     .Default(System.Void)
  315.                                                 };
  316.                                                 .Constant<RemObjects.Script.EcmaScript.Undefined>(undefined)
  317.                                             }
  318.                                         .LabelTarget #Label3:
  319.                                     }
  320.                                 };
  321.                                 $$frameExitException = True;
  322.                                 .If ($var3.Mode == 3) {
  323.                                     .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameExitTraceEvent(
  324.                                         $$thread,
  325.                                         $$debugMarker,
  326.                                         (System.Object)$$retVal)
  327.                                 } .Else {
  328.                                     .Default(System.Void)
  329.                                 }
  330.                             };
  331.                             .Return #Label4 { $$retVal };
  332.                             .Default(System.Object)
  333.                         }
  334.                     } .Catch (System.Exception $$caughtException) {
  335.                         .Block() {
  336.                             .If (
  337.                                 !($$caughtException .Is Microsoft.Scripting.Debugging.ForceToGeneratorLoopException)
  338.                             ) {
  339.                                 .Block() {
  340.                                     .If (.Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext).Mode !=
  341.                                     0) {
  342.                                         .Block() {
  343.                                             .Default(System.Void);
  344.                                             .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEventUnwind(
  345.                                                 $$thread,
  346.                                                 $$debugMarker,
  347.                                                 $$caughtException)
  348.                                         }
  349.                                     } .Else {
  350.                                         .Default(System.Void)
  351.                                     };
  352.                                     .If (
  353.                                         !$$frameExitException
  354.                                     ) {
  355.                                         .If ($var3.Mode == 3) {
  356.                                             .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameExitTraceEvent(
  357.                                                 $$thread,
  358.                                                 $$debugMarker,
  359.                                                 (System.Object)$$retVal)
  360.                                         } .Else {
  361.                                             .Default(System.Void)
  362.                                         }
  363.                                     } .Else {
  364.                                         .Default(System.Void)
  365.                                     }
  366.                                 }
  367.                             } .Else {
  368.                                 .Default(System.Void)
  369.                             };
  370.                             .Rethrow;
  371.                             .Default(System.Object)
  372.                         }
  373.                     }
  374.                 } .Catch (Microsoft.Scripting.Debugging.ForceToGeneratorLoopException) {
  375.                     .Try {
  376.                         .Block() {
  377.                             .Block() {
  378.                                 $$retValFromGen = .Call Microsoft.Scripting.Debugging.RuntimeOps.GeneratorLoopProc($$thread);
  379.                                 .If ($$retValFromGen != null) {
  380.                                     .Block() {
  381.                                         $$retVal = (System.Object)$$retValFromGen;
  382.                                         .Return #Label4 { (System.Object)$$retValFromGen }
  383.                                     }
  384.                                 } .Else {
  385.                                     .Block() {
  386.                                         $$retVal = .Default(System.Object);
  387.                                         .Return #Label4 { .Default(System.Object) }
  388.                                     }
  389.                                 }
  390.                             };
  391.                             .Default(System.Object)
  392.                         }
  393.                     } .Finally {
  394.                         $$debugMarker = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetCurrentSequencePointForLeafGeneratorFrame($$thread)
  395.                     }
  396.                 } .Finally {
  397.                     .Block() {
  398.                         .If (
  399.                             .Call Microsoft.Scripting.Debugging.RuntimeOps.PopFrame($$thread) == True && .Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext).Mode ==
  400.                             3
  401.                         ) {
  402.                             .Call Microsoft.Scripting.Debugging.RuntimeOps.OnThreadExitEvent($$thread)
  403.                         } .Else {
  404.                             .Default(System.Void)
  405.                         }
  406.                     }
  407.                 }
  408.             }
  409.         .LabelTarget #Label4:
  410.     }
  411. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement