summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-08-16 00:20:50 +0100
committerLinus Groh <mail@linusgroh.de>2022-08-23 13:58:30 +0100
commite992a9f469a536b5a5442229a1adddd27deb1db9 (patch)
tree0fcfb0c3205530e9fd91d2cf8da315fb467e6d70 /Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp
parentb99cc7d05039b9386538a581244be5af782c8d05 (diff)
downloadserenity-e992a9f469a536b5a5442229a1adddd27deb1db9.zip
LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>()
This is a continuation of the previous three commits. Now that create() receives the allocating realm, we can simply forward that to allocate(), which accounts for the majority of these changes. Additionally, we can get rid of the realm_from_global_object() in one place, with one more remaining in VM::throw_completion().
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp')
0 files changed, 0 insertions, 0 deletions