(field int, constants []value, frame []value)
| 946 | } |
| 947 | |
| 948 | func k(field int, constants []value, frame []value) value { |
| 949 | if 0 != field&bitRK { // OPT: Inline isConstant(field). |
| 950 | return constants[field & ^bitRK] // OPT: Inline constantIndex(field). |
| 951 | } |
| 952 | return frame[field] |
| 953 | } |
| 954 | |
| 955 | func newFrame(l *State, ci *callInfo) (frame []value, closure *luaClosure, constants []value) { |
| 956 | // TODO l.assert(ci == l.callInfo) |