parent
18066143bd
commit
aae312d408
2 changed files with 18 additions and 18 deletions
|
@ -44,23 +44,23 @@ var defaultVMInterops = []interopIDFuncPrice{
|
|||
{emit.InteropNameToID([]byte("System.Runtime.Notify")),
|
||||
InteropFuncPrice{Func: runtimeNotify, Price: 1}},
|
||||
{emit.InteropNameToID([]byte("System.Enumerator.Create")),
|
||||
InteropFuncPrice{Func: EnumeratorCreate, Price: 1}},
|
||||
InteropFuncPrice{Func: EnumeratorCreate, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Enumerator.Next")),
|
||||
InteropFuncPrice{Func: EnumeratorNext, Price: 1}},
|
||||
InteropFuncPrice{Func: EnumeratorNext, Price: 1000000}},
|
||||
{emit.InteropNameToID([]byte("System.Enumerator.Concat")),
|
||||
InteropFuncPrice{Func: EnumeratorConcat, Price: 1}},
|
||||
InteropFuncPrice{Func: EnumeratorConcat, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Enumerator.Value")),
|
||||
InteropFuncPrice{Func: EnumeratorValue, Price: 1}},
|
||||
InteropFuncPrice{Func: EnumeratorValue, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Iterator.Create")),
|
||||
InteropFuncPrice{Func: IteratorCreate, Price: 1}},
|
||||
InteropFuncPrice{Func: IteratorCreate, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Iterator.Concat")),
|
||||
InteropFuncPrice{Func: IteratorConcat, Price: 1}},
|
||||
InteropFuncPrice{Func: IteratorConcat, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Iterator.Key")),
|
||||
InteropFuncPrice{Func: IteratorKey, Price: 1}},
|
||||
InteropFuncPrice{Func: IteratorKey, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Iterator.Keys")),
|
||||
InteropFuncPrice{Func: IteratorKeys, Price: 1}},
|
||||
InteropFuncPrice{Func: IteratorKeys, Price: 400}},
|
||||
{emit.InteropNameToID([]byte("System.Iterator.Values")),
|
||||
InteropFuncPrice{Func: IteratorValues, Price: 1}},
|
||||
InteropFuncPrice{Func: IteratorValues, Price: 400}},
|
||||
}
|
||||
|
||||
func getDefaultVMInterop(id uint32) *InteropFuncPrice {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue