LibJS: Replace $gc() hack with a NativeFunction on the global object

To make this work, also start passing Interpreter& to native functions.
This commit is contained in:
Andreas Kling 2020-03-12 20:04:54 +01:00
commit d1d136b4e5
Notes: sideshowbarker 2024-07-19 08:20:17 +09:00
5 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
function foo() {
var x = {};
$gc();
gc();
}
foo();