X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FilxGen%2FEntry.ilx;h=674c83141a49aa88b669da90fc62ce8f44dc2933;hb=2fcb7497077e1bae830d8814b8f9442c51c1603a;hp=7c7257efc0656fc8e371f838d9e03a1aea86e376;hpb=82da3e51a13efde6c7ceba47e6e4e360b092a3d7;p=ghc-hetmet.git diff --git a/ghc/compiler/ilxGen/Entry.ilx b/ghc/compiler/ilxGen/Entry.ilx index 7c7257e..674c831 100644 --- a/ghc/compiler/ilxGen/Entry.ilx +++ b/ghc/compiler/ilxGen/Entry.ilx @@ -1,18 +1,20 @@ .assembly test { } +.assembly extern 'mscorlib' { } +.assembly extern ilx 'std' { } // ENTRYPOINT .class MainMain { .method public static void Main(class [mscorlib]System.String[]) { .entrypoint ldstr "LOG: *** loading main value" call void [mscorlib]System.Console::WriteLine(class [mscorlib]System.String) - ldsfld thunk<(func ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T)> class Main::'Main_main' + ldsfld thunk<(func ( /* unit skipped */ ) --> class [std]PrelBase_Z0T)> class Main::'Main_main' ldstr "LOG: *** evaluating main value" call void [mscorlib]System.Console::WriteLine(class [mscorlib]System.String) - callfunc () --> (func ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T) + callfunc () --> (func ( /* unit skipped */ ) --> class [std]PrelBase_Z0T) ldstr "LOG: *** calling main value" call void [mscorlib]System.Console::WriteLine(class [mscorlib]System.String) // ldunit - callfunc ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T + callfunc ( /* unit skipped */ ) --> class [std]PrelBase_Z0T pop @@ -25,22 +27,22 @@ ldstr "LOG: ***calling critical finalizers manually in main()" call void [mscorlib]System.Console::WriteLine(class [mscorlib]System.String) -ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [ilx std]PrelBase_Z0T))> [ilx std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' -ldsfld thunk> [ilx std]'PrelHandle'::'PrelHandle_stdin' - callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T) - callfunc ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T +ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [std]PrelBase_Z0T))> [std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' +ldsfld thunk> [std]'PrelHandle'::'PrelHandle_stdin' + callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [std]PrelBase_Z0T) + callfunc ( /* unit skipped */ ) --> class [std]PrelBase_Z0T pop -ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [ilx std]PrelBase_Z0T))> [ilx std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' -ldsfld thunk> [ilx std]'PrelHandle'::'PrelHandle_stdout' - callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T) - callfunc ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T +ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [std]PrelBase_Z0T))> [std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' +ldsfld thunk> [std]'PrelHandle'::'PrelHandle_stdout' + callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [std]PrelBase_Z0T) + callfunc ( /* unit skipped */ ) --> class [std]PrelBase_Z0T pop -ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [ilx std]PrelBase_Z0T))> [ilx std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' -ldsfld thunk> [ilx std]'PrelHandle'::'PrelHandle_stderr' - callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T) - callfunc ( /* unit skipped */ ) --> class [ilx std]PrelBase_Z0T +ldsfld thunk<(func (thunk>) --> (func (/* unit skipped */) --> class [std]PrelBase_Z0T))> [std]'PrelHandle'::'PrelHandle_stdHandleFinalizzer' +ldsfld thunk> [std]'PrelHandle'::'PrelHandle_stderr' + callfunc () (thunk>) --> (func ( /* unit skipped */ ) --> class [std]PrelBase_Z0T) + callfunc ( /* unit skipped */ ) --> class [std]PrelBase_Z0T pop ldstr "LOG: exit main()\n"