refactor: remove oldSize parameter from WrenReallocateFn and all call sites
Simplify the allocation API by dropping the unused `oldSize` argument from `WrenReallocateFn` typedef, its documentation, and all internal callers. Update `wrenReallocate` in `wren_vm.c` to pass only `newSize`, remove the `defaultReallocate` wrapper in favor of direct `realloc`, and adjust `generate_baseline` signature in benchmark script to match.
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ def read_baseline():
|
||||
benchmark[2] = float(best)
|
||||
|
||||
|
||||
def generate_baseline(graph):
|
||||
def generate_baseline():
|
||||
print("generating baseline")
|
||||
baseline_text = ""
|
||||
for benchmark in BENCHMARKS:
|
||||
|
||||
Reference in New Issue
Block a user