mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:05:07 +00:00
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:
parent
9ad17d4674
commit
d1d136b4e5
5 changed files with 12 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
function foo() {
|
||||
var x = {};
|
||||
$gc();
|
||||
gc();
|
||||
}
|
||||
foo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue