(lvalue LValue)
| 924 | } |
| 925 | |
| 926 | func (ls *LState) metaCall(lvalue LValue) (*LFunction, bool) { |
| 927 | if fn, ok := lvalue.(*LFunction); ok { |
| 928 | return fn, false |
| 929 | } |
| 930 | if fn, ok := ls.metaOp1(lvalue, "__call").(*LFunction); ok { |
| 931 | return fn, true |
| 932 | } |
| 933 | return nil, false |
| 934 | } |
| 935 | |
| 936 | func (ls *LState) initCallFrame(cf *callFrame) { // +inline-start |
| 937 | if cf.Fn.IsG { |