mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-23 16:00:32 +02:00
Normalize whitespace in wave w2 ledgers
git diff --check: trailing whitespace and space-before-tab indentation inside quoted code in ledgers only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
97ed0eeeee
commit
d0c2aed7b0
4 files changed
+6
-6
No files matched your search
@@ -102,7 +102,7 @@ Shapes: v6 (polarity, field, cause, arm order, swarm guard) gave 848. v6p (+ dia
|
||||
|
||||
```c
|
||||
boolean unit_is_speaking(
|
||||
long unit_index);
|
||||
long unit_index);
|
||||
```
|
||||
|
||||
Evidence:
|
||||
|
||||
@@ -49,7 +49,7 @@ Candidate: `scratch/workers/player_profile_files_windows_etc/fw_reopen.c`, SHA-2
|
||||
- *Measured levers:* two ordinary rules are needed together:
|
||||
- declaring `info` with its `file_reference_get_const_info` initializer, as the exact siblings `file_create`/`file_exists` do (house rule 17);
|
||||
- a single-exit boolean result.
|
||||
|
||||
|
||||
Either lever alone stays residual (scratch `fw_v7.c` has only the single exit; `fw_v8.c` has only the initializer). The same family law closed `_file_open`, and behaviour is unchanged.
|
||||
|
||||
## `_file_get_size`: not landed
|
||||
|
||||
@@ -18,7 +18,7 @@ The park is classed `tu-context-optimization`. The evidence below shows it is an
|
||||
- **What January does with the helper:** it calls `lrar_get_block` out of line at +0x83 and +0xCF, which are:
|
||||
- the last-block end, in the else arm;
|
||||
- the first eviction lookup.
|
||||
|
||||
|
||||
At the post-increment lookup inside the eviction `while` it fully inlines the helper (verify_cache + index assert + verify_block).
|
||||
- **Why that means cold blocks:** January also inlines `lrar_get_block` partially at its non-loop sites (`lrar_block_address`, `lrar_deallocate`) and fully in `lrar_flush`'s loop. So January's two call sites are colder than an ordinary statement.
|
||||
- **Mechanism probe** (scratch only; NOT admissible): wrapping the retry `for (;;)` in a condition that VC7 folds late gives **12/12 strict exact**, with alndiff reporting no normalized instruction differences. The probe condition is `if (size >= 0)`, redundant with the dominating size check. File: `scratch/workers/player_profile_files_windows_etc/lr_p8.c`.
|
||||
|
||||
@@ -48,12 +48,12 @@ Diff against the real file (whitespace-exact in the candidate):
|
||||
...
|
||||
- disc_stack[0] = seed_disc_index;
|
||||
- stack_top = 1;
|
||||
BIT_VECTOR_SET_FLAG(disc_flag_words, seed_disc_index, TRUE);
|
||||
BIT_VECTOR_SET_FLAG(disc_flag_words, seed_disc_index, TRUE);
|
||||
+ disc_stack[stack_top++] = seed_disc_index;
|
||||
...
|
||||
if (point_in_circle_inline(
|
||||
if (point_in_circle_inline(
|
||||
- &disc->center,
|
||||
¤t_disc->center,
|
||||
¤t_disc->center,
|
||||
+ &disc->center,
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user