Lines Matching refs:g_symbol_data
39 static vector<SymbolData> g_symbol_data; variable
48 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { in PeekGlobalVar()
51 return g_symbol_data[v_].gv; in PeekGlobalVar()
55 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { in GetGlobalVar()
56 g_symbol_data.resize(v_ + 1); in GetGlobalVar()
58 Var* v = g_symbol_data[v_].gv; in GetGlobalVar()
67 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { in SetGlobalVar()
68 g_symbol_data.resize(v_ + 1); in SetGlobalVar()
70 Var* orig = g_symbol_data[v_].gv; in SetGlobalVar()
93 g_symbol_data[v_].gv = v; in SetGlobalVar()
99 g_symbol_data[name_.val()].gv = var; in ScopedGlobalVar()
103 g_symbol_data[name_.val()].gv = orig_; in ~ScopedGlobalVar()