- Added DecoFindSingleNameState for the extremely common case of finding a state with only

one name in its label. This avoids the alloca and security cookie calls.
- Consolidated lots of copy-pasted code in thingdef_expression.cpp to install helper functions
  into FindDecorateBuiltinFunction().

SVN r3907 (scripting)
This commit is contained in:
Randy Heit 2012-10-26 04:04:06 +00:00
commit 1a02d16356
3 changed files with 80 additions and 76 deletions

View file

@ -131,8 +131,8 @@ void VMSelectEngine(EVMEngine engine)
#ifdef NDEBUG
VMExec = VMExec_Unchecked::Exec;
#else
VMExec = VMExec_Checked::Exec;
#endif
VMExec = VMExec_Checked::Exec;
break;
case VMEngine_Unchecked:
VMExec = VMExec_Unchecked::Exec;