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