diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-09-18 13:47:23 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-09-18 14:06:01 (GMT) |
commit | e04f44a4746928346b90acf74ec0bb67fee3c0d6 (patch) | |
tree | b5445b435d95d49cb7e8c3127d7b33a92590510a /doc | |
parent | d380d3435d413fab28192175da30845ca3351752 (diff) | |
download | Qt-e04f44a4746928346b90acf74ec0bb67fee3c0d6.zip Qt-e04f44a4746928346b90acf74ec0bb67fee3c0d6.tar.gz Qt-e04f44a4746928346b90acf74ec0bb67fee3c0d6.tar.bz2 |
initialize the this-register of the global context
QScriptEnginePrivate::thisForContext() relies on the this-register
of the global context to contain an invalid JSValue.
The default Register constructor (used to initialize the registers
of the global context) only invalidates its value when NDEBUG is
not defined (but we define it). Therefore, we must explicitly set
the this-register to an invalid value.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions