| 645 | } // end anonymous namespace |
| 646 | |
| 647 | Result WriteBinarySpecScript(Stream* json_stream, |
| 648 | WriteBinarySpecStreamFactory module_stream_factory, |
| 649 | Script* script, |
| 650 | std::string_view source_filename, |
| 651 | std::string_view module_filename_noext, |
| 652 | const WriteBinaryOptions& options) { |
| 653 | BinaryWriterSpec binary_writer_spec(json_stream, module_stream_factory, |
| 654 | source_filename, module_filename_noext, |
| 655 | options); |
| 656 | return binary_writer_spec.WriteScript(*script); |
| 657 | } |
| 658 | |
| 659 | Result WriteBinarySpecScript( |
| 660 | Stream* json_stream, |
no test coverage detected