| 122 | } |
| 123 | |
| 124 | void resetTables() |
| 125 | { |
| 126 | setCurrentStringTable(&gGlobalStringTable); |
| 127 | setCurrentFloatTable(&gGlobalFloatTable); |
| 128 | getGlobalFloatTable().reset(); |
| 129 | getGlobalStringTable().reset(); |
| 130 | getFunctionFloatTable().reset(); |
| 131 | getFunctionStringTable().reset(); |
| 132 | getIdentTable().reset(); |
| 133 | getFunctionVariableMappingTable().reset(); |
| 134 | gGlobalScopeFuncVars.clear(); |
| 135 | gFuncVars = gIsEvalCompile ? &gEvalFuncVars : &gGlobalScopeFuncVars; |
| 136 | } |
| 137 | |
| 138 | void *consoleAlloc(U32 size) { return gConsoleAllocator.alloc(size); } |
| 139 | void consoleAllocReset() { gConsoleAllocator.freeBlocks(); } |
no test coverage detected