| 444 | } |
| 445 | |
| 446 | jsi::Value V8Runtime::evaluatePreparedJavaScript( |
| 447 | const std::shared_ptr<const jsi::PreparedJavaScript> &js) { |
| 448 | assert( |
| 449 | dynamic_cast<const jsi::SourceJavaScriptPreparation *>(js.get()) && |
| 450 | "preparedJavaScript must be a SourceJavaScriptPreparation"); |
| 451 | auto sourceJs = |
| 452 | std::static_pointer_cast<const jsi::SourceJavaScriptPreparation>(js); |
| 453 | return evaluateJavaScript(sourceJs, sourceJs->sourceURL()); |
| 454 | } |
| 455 | |
| 456 | #if REACT_NATIVE_MINOR_VERSION >= 75 || \ |
| 457 | (REACT_NATIVE_MINOR_VERSION >= 74 && REACT_NATIVE_PATCH_VERSION >= 3) |
nothing calls this directly
no outgoing calls
no test coverage detected