| 11 | { |
| 12 | public: |
| 13 | Module(const char* executablePath) |
| 14 | { |
| 15 | v8::V8::InitializeICUDefaultLocation(executablePath); |
| 16 | v8::V8::InitializeExternalStartupData(executablePath); |
| 17 | m_platform = v8::platform::NewDefaultPlatform(); |
| 18 | v8::V8::InitializePlatform(m_platform.get()); |
| 19 | v8::V8::Initialize(); |
| 20 | } |
| 21 | |
| 22 | ~Module() |
| 23 | { |
nothing calls this directly
no test coverage detected