]> git.kaiwu.me - njs.git/commit
Removing the requirement of "aligned" attribute support.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 31 May 2021 06:55:32 +0000 (06:55 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 31 May 2021 06:55:32 +0000 (06:55 +0000)
commit87765ff26bd8ba8c5b3c2b22303eea0747e465f3
tree0ab3988da53bf8d60f071478a64bcaaa24be9155
parentfd989fa362c40d48ffcc2fe5cc8b3c8d2040b4db
Removing the requirement of "aligned" attribute support.

Before 0a2a0b5a74f4, the address of values used in runtime had to be the
multiple of 16, because the address of a variable was used as its VM
index. The first 4 bits of an index signified the scope of a varible.

This is no longer the case, after 0a2a0b5a74f4 the address of a variable
is never used as its VM index.
src/njs_value.h