mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Improved comments on the generated opcodes.h file.
FossilOrigin-Name: f2a17f1fad08779486e4d50d0d9277c7f87a9558a53af1a68aa5fe2ec30e820e
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Add\sa\sCORRUPT_DB\sterm\sto\san\sassert()\sadded\searlier\stoday.
|
C Improved\scomments\son\sthe\sgenerated\sopcodes.h\sfile.
|
||||||
D 2021-05-18T00:52:06.135
|
D 2021-05-18T12:36:35.719
|
||||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||||
@@ -1844,7 +1844,7 @@ F tool/mkctimec.tcl dd183b73ae1c28249669741c250525f0407e579a70482371668fd5f130d9
|
|||||||
F tool/mkkeywordhash.c 08b6e4d7a482a7f37a9a0032e7ba968e26624a027b6b2e9ba589be6f5e3d8c2c
|
F tool/mkkeywordhash.c 08b6e4d7a482a7f37a9a0032e7ba968e26624a027b6b2e9ba589be6f5e3d8c2c
|
||||||
F tool/mkmsvcmin.tcl 6ecab9fe22c2c8de4d82d4c46797bda3d2deac8e763885f5a38d0c44a895ab33
|
F tool/mkmsvcmin.tcl 6ecab9fe22c2c8de4d82d4c46797bda3d2deac8e763885f5a38d0c44a895ab33
|
||||||
F tool/mkopcodec.tcl d1b6362bd3aa80d5520d4d6f3765badf01f6c43c
|
F tool/mkopcodec.tcl d1b6362bd3aa80d5520d4d6f3765badf01f6c43c
|
||||||
F tool/mkopcodeh.tcl 352a4319c0ad869eb26442bf7c3b015aa15594c21f1cce5a6420dbe999367c21
|
F tool/mkopcodeh.tcl acc798757e2c60e4b6e16745505b9595fca76c206815c8ada576a136cf3608ed
|
||||||
F tool/mkopts.tcl 680f785fdb09729fd9ac50632413da4eadbdf9071535e3f26d03795828ab07fa
|
F tool/mkopts.tcl 680f785fdb09729fd9ac50632413da4eadbdf9071535e3f26d03795828ab07fa
|
||||||
F tool/mkpragmatab.tcl ae5585ae76ca26e4d6ccd5ea9cdebaf5efefb318bf989497a0e846cd711d9ab1
|
F tool/mkpragmatab.tcl ae5585ae76ca26e4d6ccd5ea9cdebaf5efefb318bf989497a0e846cd711d9ab1
|
||||||
F tool/mkshellc.tcl 70a9978e363b0f3280ca9ce1c46d72563ff479c1930a12a7375e3881b7325712
|
F tool/mkshellc.tcl 70a9978e363b0f3280ca9ce1c46d72563ff479c1930a12a7375e3881b7325712
|
||||||
@@ -1913,7 +1913,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
|||||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||||
P ace12a3912a4fdc2f0e741361ec705652a11b6f5e3548d54bd6f273671ba1e09
|
P 304739d2382446e7b698d67377679168e46f0a19bb0794fdf22d0a0a84a8cbcc
|
||||||
R 3a98ece07fd92e596898a809807a6bbc
|
R 488974183caf351481b145abe81d4cf1
|
||||||
U drh
|
U drh
|
||||||
Z 33a192c540dbf0ed69fe9c38b332df0c
|
Z 66f78faa347185fdfe747ad66ceffb44
|
||||||
|
@@ -1 +1 @@
|
|||||||
304739d2382446e7b698d67377679168e46f0a19bb0794fdf22d0a0a84a8cbcc
|
f2a17f1fad08779486e4d50d0d9277c7f87a9558a53af1a68aa5fe2ec30e820e
|
@@ -145,7 +145,9 @@ foreach name {OP_Noop OP_Explain OP_Abortable} {
|
|||||||
incr nOp
|
incr nOp
|
||||||
}
|
}
|
||||||
|
|
||||||
# The following are the opcodes that are processed by resolveP2Values()
|
# The following are the opcodes that receive special processing in the
|
||||||
|
# resolveP2Values() routine. Update this list whenever new cases are
|
||||||
|
# added to the pOp->opcode switch within resolveP2Values().
|
||||||
#
|
#
|
||||||
set rp2v_ops {
|
set rp2v_ops {
|
||||||
OP_Transaction
|
OP_Transaction
|
||||||
@@ -157,13 +159,11 @@ set rp2v_ops {
|
|||||||
OP_VUpdate
|
OP_VUpdate
|
||||||
OP_VFilter
|
OP_VFilter
|
||||||
OP_Next
|
OP_Next
|
||||||
OP_NextIfOpen
|
|
||||||
OP_SorterNext
|
OP_SorterNext
|
||||||
OP_Prev
|
OP_Prev
|
||||||
OP_PrevIfOpen
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Assign small values to opcodes that are processed by resolveP2Values()
|
# Assign the smallest values to opcodes that are processed by resolveP2Values()
|
||||||
# to make code generation for the switch() statement smaller and faster.
|
# to make code generation for the switch() statement smaller and faster.
|
||||||
#
|
#
|
||||||
set cnt -1
|
set cnt -1
|
||||||
@@ -177,6 +177,7 @@ for {set i 0} {$i<$nOp} {incr i} {
|
|||||||
set def($cnt) $name
|
set def($cnt) $name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
set mxCase1 $cnt
|
||||||
|
|
||||||
# Assign the next group of values to JUMP opcodes
|
# Assign the next group of values to JUMP opcodes
|
||||||
#
|
#
|
||||||
@@ -311,7 +312,7 @@ for {set i 0} {$i<=$max} {incr i} {
|
|||||||
}
|
}
|
||||||
puts "\175"
|
puts "\175"
|
||||||
puts ""
|
puts ""
|
||||||
puts "/* The sqlite3P2Values() routine is able to run faster if it knows"
|
puts "/* The resolve3P2Values() routine is able to run faster if it knows"
|
||||||
puts "** the value of the largest JUMP opcode. The smaller the maximum"
|
puts "** the value of the largest JUMP opcode. The smaller the maximum"
|
||||||
puts "** JUMP opcode the better, so the mkopcodeh.tcl script that"
|
puts "** JUMP opcode the better, so the mkopcodeh.tcl script that"
|
||||||
puts "** generated this include file strives to group all JUMP opcodes"
|
puts "** generated this include file strives to group all JUMP opcodes"
|
||||||
|
Reference in New Issue
Block a user