mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
LibWasm: Remove confusing newline after a few TAILCALLs
This commit is contained in:
parent
86505a7de4
commit
353febfab6
Notes:
github-actions[bot]
2025-10-04 09:18:17 +00:00
Author: https://github.com/alimpfard
Commit: 353febfab6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6389
Reviewed-by: https://github.com/gmta ✅
1 changed files with 4 additions and 8 deletions
|
@ -1298,8 +1298,7 @@ HANDLE_INSTRUCTION(br_if)
|
|||
// bounds checked by verifier.
|
||||
auto cond = configuration.take_source(0, addresses.sources).to<i32>();
|
||||
if (cond == 0)
|
||||
TAILCALL
|
||||
return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
TAILCALL return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
current_ip_value = interpreter.branch_to_label(configuration, instruction->arguments().get<LabelIndex>()).value();
|
||||
TAILCALL return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
}
|
||||
|
@ -1623,8 +1622,7 @@ HANDLE_INSTRUCTION(memory_copy)
|
|||
TRAP_IN_LOOP_IF_NOT(destination_position <= destination_instance->data().size());
|
||||
|
||||
if (count == 0)
|
||||
TAILCALL
|
||||
return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
TAILCALL return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
|
||||
Instruction::MemoryArgument memarg { 0, 0, args.dst_index };
|
||||
if (destination_offset <= source_offset) {
|
||||
|
@ -1664,8 +1662,7 @@ HANDLE_INSTRUCTION(memory_init)
|
|||
TRAP_IN_LOOP_IF_NOT(destination_position <= memory->data().size());
|
||||
|
||||
if (count == 0)
|
||||
TAILCALL
|
||||
return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
TAILCALL return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
|
||||
Instruction::MemoryArgument memarg { 0, 0, args.memory_index };
|
||||
for (size_t i = 0; i < (size_t)count; ++i) {
|
||||
|
@ -1738,8 +1735,7 @@ HANDLE_INSTRUCTION(table_copy)
|
|||
TRAP_IN_LOOP_IF_NOT(destination_position <= destination_instance->elements().size());
|
||||
|
||||
if (count == 0)
|
||||
TAILCALL
|
||||
return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
TAILCALL return continue_(HANDLER_PARAMS(DECOMPOSE_PARAMS_NAME_ONLY));
|
||||
|
||||
if (destination_offset <= source_offset) {
|
||||
for (u32 i = 0; i < count; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue