| 1283 | } |
| 1284 | |
| 1285 | void* ASModule::GetVarPtr(const char* name) { |
| 1286 | int index = module_->GetGlobalVarIndexByName(name); |
| 1287 | return module_->GetAddressOfGlobalVar(index); |
| 1288 | } |
| 1289 | |
| 1290 | void* ASModule::GetVarPtrCache(const char* name) { |
| 1291 | std::map<void*, void*>::iterator iter = fast_var_ptr_map.find((void*)name); |
no test coverage detected