diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 11:24:34 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 11:24:34 +0100 |
| commit | 6f5e0f0a2f4ea382626703c673f5df8d7c9a972b (patch) | |
| tree | 83ced24174db4cae60b7357fb805f8c021a91902 /src/CompilerServices/CompilerServices.cs | |
| parent | e0a9da2413da9ba0a860baf064a39941178ee34a (diff) | |
replace Activator.CreateInstance in Instantiator with an Emited NewOjb
Diffstat (limited to 'src/CompilerServices/CompilerServices.cs')
| -rw-r--r-- | src/CompilerServices/CompilerServices.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs index 0bd4b5c4..c0acc5d5 100644 --- a/src/CompilerServices/CompilerServices.cs +++ b/src/CompilerServices/CompilerServices.cs @@ -98,7 +98,7 @@ namespace Crow /// <param name="il">Il.</param> public static void emitSetCurInterface(ILGenerator il){ il.Emit (OpCodes.Ldloc_0); - il.Emit (OpCodes.Ldarg_2); + il.Emit (OpCodes.Ldarg_1); il.Emit (OpCodes.Stfld, miSetCurIface); } |