| 163 | } |
| 164 | |
| 165 | void SetCode(v8::Isolate* isolate, int code, const char* str) { |
| 166 | codes.emplace(std::piecewise_construct, |
| 167 | std::forward_as_tuple(code), |
| 168 | std::forward_as_tuple(isolate, InternalizedFromLatin1(isolate, str))); |
| 169 | } |
| 170 | |
| 171 | std::unordered_map<int, v8::Global<v8::String> > codes; |
| 172 | }; |
nothing calls this directly
no test coverage detected