diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-06 01:12:49 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-06 08:54:33 +0100 |
commit | 57dc179b1fce5d4b7171311b04667debfe693095 (patch) | |
tree | a459d1aef92dc4e49bbf03b32621b1e7e30d4e64 /Userland/Utilities/wasm.cpp | |
parent | 6e19ab2bbce0b113b628e6f8e9b5c0640053933e (diff) | |
download | serenity-57dc179b1fce5d4b7171311b04667debfe693095.zip |
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time
while we convert code, and tracking down remaining uses.
One big exception is Value::to_string() in LibJS, where the name is
dictated by the ToString AO.
Diffstat (limited to 'Userland/Utilities/wasm.cpp')
-rw-r--r-- | Userland/Utilities/wasm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/wasm.cpp b/Userland/Utilities/wasm.cpp index 290cd7a8d8..fabb40c2c1 100644 --- a/Userland/Utilities/wasm.cpp +++ b/Userland/Utilities/wasm.cpp @@ -256,7 +256,7 @@ static Optional<Wasm::Module> parse(StringView filename) auto parse_result = Wasm::Module::parse(stream); if (parse_result.is_error()) { warnln("Something went wrong, either the file is invalid, or there's a bug with LibWasm!"); - warnln("The parse error was {}", Wasm::parse_error_to_string(parse_result.error())); + warnln("The parse error was {}", Wasm::parse_error_to_deprecated_string(parse_result.error())); return {}; } return parse_result.release_value(); @@ -405,7 +405,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) ByteBuffer buffer = stream.copy_into_contiguous_buffer(); argument_builder.append(StringView(buffer).trim_whitespace()); } - dbgln("[wasm runtime] Stub function {} was called with the following arguments: {}", name, argument_builder.to_string()); + dbgln("[wasm runtime] Stub function {} was called with the following arguments: {}", name, argument_builder.to_deprecated_string()); Vector<Wasm::Value> result; result.ensure_capacity(type.results().size()); for (auto& result_type : type.results()) |