{
log(insns, "makeWatcher slot " + watcherInfo.getIndex());
insns.addInstruction(OP_getlocal2); // stack: _watchers
insns.pushNumericConstant(watcherInfo.getIndex());
WatcherType type = watcherInfo.getType();
// stack: index, _watchers
if (type == WatcherType.FUNCTION)
{
FunctionWatcherInfo functionWatcherInfo = (FunctionWatcherInfo)watcherInfo;