engine/sqlite/src/opcodes.h
changeset 2 29cda98b007e
equal deleted inserted replaced
1:5f8e5adbbed9 2:29cda98b007e
       
     1 /* Automatically generated.  Do not edit */
       
     2 /* See the mkopcodeh.awk script for details */
       
     3 #define OP_MemLoad                              1
       
     4 #define OP_VNext                                2
       
     5 #define OP_HexBlob                            126   /* same as TK_BLOB     */
       
     6 #define OP_Column                               3
       
     7 #define OP_SetCookie                            4
       
     8 #define OP_IfMemPos                             5
       
     9 #define OP_Real                               125   /* same as TK_FLOAT    */
       
    10 #define OP_Sequence                             6
       
    11 #define OP_MoveGt                               7
       
    12 #define OP_Ge                                  72   /* same as TK_GE       */
       
    13 #define OP_RowKey                               8
       
    14 #define OP_Eq                                  68   /* same as TK_EQ       */
       
    15 #define OP_OpenWrite                            9
       
    16 #define OP_NotNull                             66   /* same as TK_NOTNULL  */
       
    17 #define OP_If                                  10
       
    18 #define OP_ToInt                              141   /* same as TK_TO_INT   */
       
    19 #define OP_String8                             88   /* same as TK_STRING   */
       
    20 #define OP_Pop                                 11
       
    21 #define OP_VRowid                              12
       
    22 #define OP_CollSeq                             13
       
    23 #define OP_OpenRead                            14
       
    24 #define OP_Expire                              15
       
    25 #define OP_AutoCommit                          17
       
    26 #define OP_Gt                                  69   /* same as TK_GT       */
       
    27 #define OP_IntegrityCk                         18
       
    28 #define OP_Sort                                19
       
    29 #define OP_Function                            20
       
    30 #define OP_And                                 61   /* same as TK_AND      */
       
    31 #define OP_Subtract                            79   /* same as TK_MINUS    */
       
    32 #define OP_Noop                                21
       
    33 #define OP_Return                              22
       
    34 #define OP_Remainder                           82   /* same as TK_REM      */
       
    35 #define OP_NewRowid                            23
       
    36 #define OP_Multiply                            80   /* same as TK_STAR     */
       
    37 #define OP_IfMemNeg                            24
       
    38 #define OP_Variable                            25
       
    39 #define OP_String                              26
       
    40 #define OP_RealAffinity                        27
       
    41 #define OP_VRename                             28
       
    42 #define OP_ParseSchema                         29
       
    43 #define OP_VOpen                               30
       
    44 #define OP_Close                               31
       
    45 #define OP_CreateIndex                         32
       
    46 #define OP_IsUnique                            33
       
    47 #define OP_NotFound                            34
       
    48 #define OP_Int64                               35
       
    49 #define OP_MustBeInt                           36
       
    50 #define OP_Halt                                37
       
    51 #define OP_Rowid                               38
       
    52 #define OP_IdxLT                               39
       
    53 #define OP_AddImm                              40
       
    54 #define OP_Statement                           41
       
    55 #define OP_RowData                             42
       
    56 #define OP_MemMax                              43
       
    57 #define OP_Push                                44
       
    58 #define OP_Or                                  60   /* same as TK_OR       */
       
    59 #define OP_NotExists                           45
       
    60 #define OP_MemIncr                             46
       
    61 #define OP_Gosub                               47
       
    62 #define OP_Divide                              81   /* same as TK_SLASH    */
       
    63 #define OP_Integer                             48
       
    64 #define OP_ToNumeric                          140   /* same as TK_TO_NUMERIC*/
       
    65 #define OP_MemInt                              49
       
    66 #define OP_Prev                                50
       
    67 #define OP_Concat                              83   /* same as TK_CONCAT   */
       
    68 #define OP_BitAnd                              74   /* same as TK_BITAND   */
       
    69 #define OP_VColumn                             51
       
    70 #define OP_CreateTable                         52
       
    71 #define OP_Last                                53
       
    72 #define OP_IsNull                              65   /* same as TK_ISNULL   */
       
    73 #define OP_IncrVacuum                          54
       
    74 #define OP_IdxRowid                            55
       
    75 #define OP_MakeIdxRec                          56
       
    76 #define OP_ShiftRight                          77   /* same as TK_RSHIFT   */
       
    77 #define OP_ResetCount                          57
       
    78 #define OP_FifoWrite                           58
       
    79 #define OP_Callback                            59
       
    80 #define OP_ContextPush                         62
       
    81 #define OP_DropTrigger                         63
       
    82 #define OP_DropIndex                           64
       
    83 #define OP_IdxGE                               73
       
    84 #define OP_IdxDelete                           84
       
    85 #define OP_Vacuum                              86
       
    86 #define OP_MoveLe                              89
       
    87 #define OP_IfNot                               90
       
    88 #define OP_DropTable                           91
       
    89 #define OP_MakeRecord                          92
       
    90 #define OP_ToBlob                             139   /* same as TK_TO_BLOB  */
       
    91 #define OP_Delete                              93
       
    92 #define OP_StackDepth                          94
       
    93 #define OP_AggFinal                            95
       
    94 #define OP_ShiftLeft                           76   /* same as TK_LSHIFT   */
       
    95 #define OP_Dup                                 96
       
    96 #define OP_Goto                                97
       
    97 #define OP_TableLock                           98
       
    98 #define OP_FifoRead                            99
       
    99 #define OP_Clear                              100
       
   100 #define OP_IdxGT                              101
       
   101 #define OP_MoveLt                             102
       
   102 #define OP_Le                                  70   /* same as TK_LE       */
       
   103 #define OP_VerifyCookie                       103
       
   104 #define OP_AggStep                            104
       
   105 #define OP_Pull                               105
       
   106 #define OP_ToText                             138   /* same as TK_TO_TEXT  */
       
   107 #define OP_Not                                 16   /* same as TK_NOT      */
       
   108 #define OP_ToReal                             142   /* same as TK_TO_REAL  */
       
   109 #define OP_SetNumColumns                      106
       
   110 #define OP_AbsValue                           107
       
   111 #define OP_Transaction                        108
       
   112 #define OP_VFilter                            109
       
   113 #define OP_Negative                            85   /* same as TK_UMINUS   */
       
   114 #define OP_Ne                                  67   /* same as TK_NE       */
       
   115 #define OP_VDestroy                           110
       
   116 #define OP_ContextPop                         111
       
   117 #define OP_BitOr                               75   /* same as TK_BITOR    */
       
   118 #define OP_Next                               112
       
   119 #define OP_IdxInsert                          113
       
   120 #define OP_Distinct                           114
       
   121 #define OP_Lt                                  71   /* same as TK_LT       */
       
   122 #define OP_Insert                             115
       
   123 #define OP_Destroy                            116
       
   124 #define OP_ReadCookie                         117
       
   125 #define OP_ForceInt                           118
       
   126 #define OP_LoadAnalysis                       119
       
   127 #define OP_Explain                            120
       
   128 #define OP_IfMemZero                          121
       
   129 #define OP_OpenPseudo                         122
       
   130 #define OP_OpenEphemeral                      123
       
   131 #define OP_Null                               124
       
   132 #define OP_Blob                               127
       
   133 #define OP_Add                                 78   /* same as TK_PLUS     */
       
   134 #define OP_MemStore                           128
       
   135 #define OP_Rewind                             129
       
   136 #define OP_MoveGe                             130
       
   137 #define OP_VBegin                             131
       
   138 #define OP_VUpdate                            132
       
   139 #define OP_BitNot                              87   /* same as TK_BITNOT   */
       
   140 #define OP_VCreate                            133
       
   141 #define OP_MemMove                            134
       
   142 #define OP_MemNull                            135
       
   143 #define OP_Found                              136
       
   144 #define OP_NullRow                            137
       
   145 
       
   146 /* Opcodes that are guaranteed to never push a value onto the stack
       
   147 ** contain a 1 their corresponding position of the following mask
       
   148 ** set.  See the opcodeNoPush() function in vdbeaux.c  */
       
   149 #define NOPUSH_MASK_0 0xeeb4
       
   150 #define NOPUSH_MASK_1 0xf96b
       
   151 #define NOPUSH_MASK_2 0xfbb6
       
   152 #define NOPUSH_MASK_3 0xfe64
       
   153 #define NOPUSH_MASK_4 0xffff
       
   154 #define NOPUSH_MASK_5 0xeef7
       
   155 #define NOPUSH_MASK_6 0xf7f6
       
   156 #define NOPUSH_MASK_7 0x0ecf
       
   157 #define NOPUSH_MASK_8 0x7f3f
       
   158 #define NOPUSH_MASK_9 0x0000