writeDefaultFailureCode

open fun writeDefaultFailureCode(    lineNumber: Int,     writer: L1InstructionWriter,     numArgs: Int)

Generate suitable primitive failure code on the given L1InstructionWriter. Some primitives may have special requirements, but most (fallible) primitives follow the same pattern.

Parameters

lineNumber

The line number at which to consider a future failure to occur.

writer

Where to write the failure code.

numArgs

The number of arguments that the function will accept.