Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .Lambda EcmaScript$6<System.Func`3[Microsoft.Scripting.Runtime.Scope,Microsoft.Scripting.Runtime.LanguageContext,System.Object]>(
- Microsoft.Scripting.Runtime.Scope $$scope,
- Microsoft.Scripting.Runtime.LanguageContext $$languagecontext) {
- .Block(RemObjects.Script.EcmaScript.GlobalObject $$globals) {
- .Block(System.Object $var1) {
- .DebugInfo(main.js: 12, 1 - 18, 2);
- $var1 = .Block() {
- $$globals = .Constant<RemObjects.Script.EcmaScript.GlobalObject>([object global]);
- .Call $$globals.SetScope($$scope);
- .Invoke (.Lambda <global>$5<RemObjects.Script.EcmaScript.InternalDelegate>)(
- null,
- $$globals,
- .NewArray System.Object[] {
- })
- };
- .DebugInfo(main.js: 16707566, 0 - 16707566, 0);
- $var1
- }
- }
- }
- .Lambda <global>$5<RemObjects.Script.EcmaScript.InternalDelegate>(
- RemObjects.Script.EcmaScript.EcmaScriptFunctionObject $$scope,
- System.Object $$this,
- System.Object[] $args) {
- .Block(
- Microsoft.Scripting.Debugging.DebugThread $$thread,
- System.Boolean $$framePushed,
- Microsoft.Scripting.Debugging.FunctionInfo $$funcInfo,
- System.Boolean[] $$traceLocations,
- System.Int32 $$debugMarker,
- System.Boolean $$frameExitException,
- System.Object $$retVal,
- System.Object $$retValFromGen,
- RemObjects.Script.EcmaScript.IScopeObject $$newscope,
- System.Object[] $$parameters,
- System.Object $var2,
- System.Object $local1,
- System.Object $local12,
- System.Object $local123,
- System.Object $local1234,
- Microsoft.Scripting.Debugging.DebugSourceFile $var3) {
- .Label
- .Block() {
- .Try {
- .Try {
- .Block() {
- $$funcInfo = (Microsoft.Scripting.Debugging.FunctionInfo).Constant<Microsoft.Scripting.Debugging.FunctionInfo>(Microsoft.Scripting.Debugging.FunctionInfo);
- $$traceLocations = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetTraceLocations($$funcInfo);
- $var3 = .Constant<Microsoft.Scripting.Debugging.DebugSourceFile>(Microsoft.Scripting.Debugging.DebugSourceFile);
- .Block() {
- $$framePushed = True;
- $$thread = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetCurrentThread(.Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext))
- ;
- .Call Microsoft.Scripting.Debugging.RuntimeOps.LiftVariables(
- $$thread,
- .RuntimeVariables(
- $$funcInfo,
- $$debugMarker,
- $$scope,
- $$this,
- $args,
- $$newscope,
- $$parameters,
- $var2,
- $local1,
- $local12,
- $local123,
- $local1234))
- };
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameEnterTraceEvent($$thread);
- .Block() {
- $$retVal = .Block() {
- .Block() {
- $$parameters = .Call Microsoft.Scripting.Runtime.ScriptingRuntimeHelpers.ShiftParamsArray(
- $args,
- 0);
- .Label
- .Block() {
- $$newscope = (RemObjects.Script.EcmaScript.GlobalObject)$$this;
- .Block() {
- .Block() {
- $$debugMarker = 0;
- .If ($var3.Mode > 1) {
- .If (
- $var3.Mode == 3 || $$traceLocations[0]
- ) {
- .Block() {
- .Default(System.Void);
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- };
- $var2 = .Dynamic SetMember unicode(
- $$newscope,
- .Call (.New RemObjects.Script.EcmaScript.EcmaScriptArrayObject(
- $$newscope.Root,
- 0)).AddValues(.NewArray System.Object[] {
- "A",
- "B",
- "C",
- "D",
- "E",
- "F",
- "G",
- "H",
- "I",
- "J",
- "K",
- "L",
- "M",
- "N",
- "O",
- "P",
- "Q",
- "R",
- "S",
- "T",
- "U",
- "V",
- "W",
- "X",
- "Y",
- "Z"
- }));
- .Default(System.Void);
- $var2
- };
- .Block() {
- .Block() {
- $$debugMarker = 1;
- .If ($var3.Mode > 1) {
- .If (
- $var3.Mode == 3 || $$traceLocations[1]
- ) {
- .Block() {
- .Default(System.Void);
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
- $$thread,
- 1,
- (System.Exception)null)
- }
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- };
- $local1 = .Dynamic SetMember character(
- $$newscope,
- .Call (.New RemObjects.Script.EcmaScript.EcmaScriptArrayObject(
- $$newscope.Root,
- 0)).AddValues(.NewArray System.Object[] {
- "A",
- "B",
- "C",
- "D",
- "E",
- "F",
- "G",
- "H",
- "I",
- "J",
- "K",
- "L",
- "M",
- "N",
- "O",
- "P",
- "Q",
- "R",
- "S",
- "T",
- "U",
- "V",
- "W",
- "X",
- "Y",
- "Z"
- }));
- .Default(System.Void);
- $local1
- };
- .Block() {
- .Block() {
- $$debugMarker = 2;
- .If ($var3.Mode > 1) {
- .If (
- $var3.Mode == 3 || $$traceLocations[2]
- ) {
- .Block() {
- .Default(System.Void);
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
- $$thread,
- 2,
- (System.Exception)null)
- }
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- };
- .Block() {
- .Dynamic SetMember index(
- $$newscope,
- .Dynamic Convert System.Object(0));
- .Loop {
- .Block() {
- .If (
- .Dynamic Convert System.Boolean(.Dynamic BinaryOperation LessThanOrEqual(
- .Dynamic GetMember index($$newscope),
- 25))
- ) {
- .Default(System.Void)
- } .Else {
- .Block() {
- .Default(System.Void);
- .Break #Label1 { }
- }
- };
- .Block() {
- .Block() {
- $$debugMarker = 3;
- .If ($var3.Mode > 1) {
- .If (
- $var3.Mode == 3 || $$traceLocations[3]
- ) {
- .Block() {
- .Default(System.Void);
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
- $$thread,
- 3,
- (System.Exception)null)
- }
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- };
- .If (
- .Call RemObjects.Script.EcmaScript.ObjectExtensions.StrictNotEqual(
- .Dynamic GetIndex(
- .Dynamic GetMember unicode($$newscope),
- .Dynamic GetMember index($$newscope)),
- .Dynamic GetIndex(
- .Dynamic GetMember character($$newscope),
- .Dynamic GetMember index($$newscope)))
- ) {
- .Block() {
- .Block() {
- $$debugMarker = 4;
- .If ($var3.Mode > 1) {
- .If (
- $var3.Mode == 3 || $$traceLocations[4]
- ) {
- .Block() {
- .Default(System.Void);
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEvent(
- $$thread,
- 4,
- (System.Exception)null)
- }
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- };
- $local12 = .Dynamic RemObjects.Script.EcmaScript.ScopeInvokeBinder(
- $$newscope,
- $$newscope,
- .Dynamic BinaryOperation Add(
- .Dynamic BinaryOperation Add(
- "#",
- .Dynamic GetIndex(
- .Dynamic GetMember character($$newscope),
- .Dynamic GetMember index($$newscope))),
- " "));
- .Default(System.Void);
- $local12
- }
- } .Else {
- .Default(System.Void)
- };
- .Default(System.Void)
- };
- .Label
- .LabelTarget #Label2:;
- .Block() {
- $local123 = $$newscope;
- $local1234 = .Dynamic GetMember index($local123);
- .Dynamic SetMember index(
- $local123,
- .Dynamic BinaryOperation Add(
- $local1234,
- .Constant<System.Object>(1)));
- $local1234
- }
- }
- }
- .LabelTarget #Label1:
- };
- .Default(System.Void)
- };
- .Constant<RemObjects.Script.EcmaScript.Undefined>(undefined)
- }
- .LabelTarget #Label3:
- }
- };
- $$frameExitException = True;
- .If ($var3.Mode == 3) {
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameExitTraceEvent(
- $$thread,
- $$debugMarker,
- (System.Object)$$retVal)
- } .Else {
- .Default(System.Void)
- }
- };
- .Return #Label4 { $$retVal };
- .Default(System.Object)
- }
- } .Catch (System.Exception $$caughtException) {
- .Block() {
- .If (
- !($$caughtException .Is Microsoft.Scripting.Debugging.ForceToGeneratorLoopException)
- ) {
- .Block() {
- .If (.Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext).Mode !=
- 0) {
- .Block() {
- .Default(System.Void);
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnTraceEventUnwind(
- $$thread,
- $$debugMarker,
- $$caughtException)
- }
- } .Else {
- .Default(System.Void)
- };
- .If (
- !$$frameExitException
- ) {
- .If ($var3.Mode == 3) {
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnFrameExitTraceEvent(
- $$thread,
- $$debugMarker,
- (System.Object)$$retVal)
- } .Else {
- .Default(System.Void)
- }
- } .Else {
- .Default(System.Void)
- }
- }
- } .Else {
- .Default(System.Void)
- };
- .Rethrow;
- .Default(System.Object)
- }
- }
- } .Catch (Microsoft.Scripting.Debugging.ForceToGeneratorLoopException) {
- .Try {
- .Block() {
- .Block() {
- $$retValFromGen = .Call Microsoft.Scripting.Debugging.RuntimeOps.GeneratorLoopProc($$thread);
- .If ($$retValFromGen != null) {
- .Block() {
- $$retVal = (System.Object)$$retValFromGen;
- .Return #Label4 { (System.Object)$$retValFromGen }
- }
- } .Else {
- .Block() {
- $$retVal = .Default(System.Object);
- .Return #Label4 { .Default(System.Object) }
- }
- }
- };
- .Default(System.Object)
- }
- } .Finally {
- $$debugMarker = .Call Microsoft.Scripting.Debugging.RuntimeOps.GetCurrentSequencePointForLeafGeneratorFrame($$thread)
- }
- } .Finally {
- .Block() {
- .If (
- .Call Microsoft.Scripting.Debugging.RuntimeOps.PopFrame($$thread) == True && .Constant<Microsoft.Scripting.Debugging.CompilerServices.DebugContext>(Microsoft.Scripting.Debugging.CompilerServices.DebugContext).Mode ==
- 3
- ) {
- .Call Microsoft.Scripting.Debugging.RuntimeOps.OnThreadExitEvent($$thread)
- } .Else {
- .Default(System.Void)
- }
- }
- }
- }
- .LabelTarget #Label4:
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement