Cache message JS conversions, to make broadcasts faster

This was SVN commit r8120.
This commit is contained in:
Ykkrosh
2010-09-17 17:49:39 +00:00
parent bd38d9d34f
commit db047e5bee
4 changed files with 16 additions and 4 deletions
+5 -1
View File
@@ -52,5 +52,9 @@ jsval CScriptValRooted::get() const
bool CScriptValRooted::undefined() const
{
return (!m_Val || *m_Val == JSVAL_VOID);
}
bool CScriptValRooted::uninitialised() const
{
return !m_Val;
}