internal/runtime/isa/opcode_string.go
// Code generated by "stringer -type=Opcode"; DO NOT EDIT.
package isa
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[opcodeMask-63]
_ = x[Add-0]
_ = x[Arg-1]
_ = x[ArgLen-2]
_ = x[Bind-3]
_ = x[BindRef-4]
_ = x[Call-5]
_ = x[Call0-6]
_ = x[Call1-7]
_ = x[CallWith-8]
_ = x[Car-9]
_ = x[Cdr-10]
_ = x[Closure-11]
_ = x[CondJump-12]
_ = x[Cons-13]
_ = x[Const-14]
_ = x[Declare-15]
_ = x[Deref-16]
_ = x[Div-17]
_ = x[Dup-18]
_ = x[Empty-19]
_ = x[Eq-20]
_ = x[False-21]
_ = x[Jump-22]
_ = x[Label-23]
_ = x[Load-24]
_ = x[Mod-25]
_ = x[Mul-26]
_ = x[Neg-27]
_ = x[NegInt-28]
_ = x[NewRef-29]
_ = x[NoOp-30]
_ = x[Not-31]
_ = x[Null-32]
_ = x[NumEq-33]
_ = x[NumGt-34]
_ = x[NumGte-35]
_ = x[NumLt-36]
_ = x[NumLte-37]
_ = x[Panic-38]
_ = x[Pop-39]
_ = x[PosInt-40]
_ = x[Private-41]
_ = x[Resolve-42]
_ = x[RestArg-43]
_ = x[RetFalse-44]
_ = x[RetNull-45]
_ = x[RetTrue-46]
_ = x[Return-47]
_ = x[SetArgs-48]
_ = x[Store-49]
_ = x[Sub-50]
_ = x[TailCall-51]
_ = x[True-52]
_ = x[Vector-53]
_ = x[Zero-54]
}
const (
_Opcode_name_0 = "AddArgArgLenBindBindRefCallCall0Call1CallWithCarCdrClosureCondJumpConsConstDeclareDerefDivDupEmptyEqFalseJumpLabelLoadModMulNegNegIntNewRefNoOpNotNullNumEqNumGtNumGteNumLtNumLtePanicPopPosIntPrivateResolveRestArgRetFalseRetNullRetTrueReturnSetArgsStoreSubTailCallTrueVectorZero"
_Opcode_name_1 = "opcodeMask"
)
var (
_Opcode_index_0 = [...]uint16{0, 3, 6, 12, 16, 23, 27, 32, 37, 45, 48, 51, 58, 66, 70, 75, 82, 87, 90, 93, 98, 100, 105, 109, 114, 118, 121, 124, 127, 133, 139, 143, 146, 150, 155, 160, 166, 171, 177, 182, 185, 191, 198, 205, 212, 220, 227, 234, 240, 247, 252, 255, 263, 267, 273, 277}
)
func (i Opcode) String() string {
switch {
case i <= 54:
return _Opcode_name_0[_Opcode_index_0[i]:_Opcode_index_0[i+1]]
case i == 63:
return _Opcode_name_1
default:
return "Opcode(" + strconv.FormatInt(int64(i), 10) + ")"
}
}