| 823 | } |
| 824 | |
| 825 | jsi::Object V8Runtime::createObject() { |
| 826 | v8::Locker locker(isolate_); |
| 827 | v8::Isolate::Scope scopedIsolate(isolate_); |
| 828 | v8::HandleScope scopedHandle(isolate_); |
| 829 | v8::Context::Scope scopedContext(context_.Get(isolate_)); |
| 830 | |
| 831 | v8::Local<v8::Object> object = v8::Object::New(isolate_); |
| 832 | return make<jsi::Object>(new V8PointerValue(isolate_, object)); |
| 833 | } |
| 834 | |
| 835 | jsi::Object V8Runtime::createObject( |
| 836 | std::shared_ptr<jsi::HostObject> hostObject) { |
nothing calls this directly
no test coverage detected