The global gc() helper used to live in LibJS itself, but was recently removed. Several JS benchmarks still call gc() to force a collection, so reintroduce it on the js binary's global object (both the REPL and the bare script global) where it belongs as a testing affordance. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dns.cpp | ||
| image.cpp | ||
| js.cpp | ||
| test262-runner.cpp | ||
| wasm.cpp | ||
| xml.cpp | ||