Linus Groh
|
6ae79a84df
LibJS: Convert Object::construct() to NonnullGCPtr
|
2 years ago |
Linus Groh
|
03acbf0beb
LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtr
|
2 years ago |
Linus Groh
|
22089436ed
LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr
|
2 years ago |
Linus Groh
|
b42e293ddd
LibJS: Convert NativeFunction::create() to NonnullGCPtr
|
2 years ago |
Linus Groh
|
e68e92b304
LibJS: Make JS::NativeFunction use JS::SafeFunction internally
|
2 years ago |
Linus Groh
|
50428ea8d2
LibJS: Move intrinsics to the realm
|
2 years ago |
Linus Groh
|
b465f46e00
LibJS: Remove GlobalObject parameter from native functions
|
2 years ago |
Linus Groh
|
56b2ae5ac0
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
|
2 years ago |
Linus Groh
|
e992a9f469
LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>()
|
2 years ago |
Linus Groh
|
b99cc7d050
LibJS+LibWeb: Replace GlobalObject with Realm in create() functions
|
2 years ago |
Linus Groh
|
ecd163bdf1
LibJS+LibWeb: Replace GlobalObject with Realm in object constructors
|
2 years ago |
Linus Groh
|
9f3f3b0864
LibJS: Remove implicit wrapping/unwrapping of completion records
|
3 years ago |
Idan Horowitz
|
086969277e
Everywhere: Run clang-format
|
3 years ago |
Lenny Maiorani
|
d00b79568f
Libraries: Use default constructors/destructors in LibJS
|
3 years ago |
davidot
|
bfedec6a98
LibJS: Keep PrivateEnvironment through NativeFunction calls
|
3 years ago |
Linus Groh
|
e4f165d460
LibJS: Add NativeFunction::create() overload for CreateBuiltinFunction
|
3 years ago |
Linus Groh
|
bc183dbbcb
LibJS: Replace uses of MarkedValueList with MarkedVector<Value>
|
3 years ago |
davidot
|
57c5a59cab
LibJS: Add ScriptOrModule to execution context and track it everywhere
|
3 years ago |
Linus Groh
|
57de5056b6
LibJS: Convert push_execution_context() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
5832de62fe
LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
ca27e5eff5
LibJS: Convert NativeFunction callback to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
0241071ca2
LibJS: Use GlobalObject::associated_realm() for function object realms
|
3 years ago |
Linus Groh
|
fe5c2b7bb9
LibJS: Decouple new_function_environment() from FunctionObject
|
3 years ago |
Linus Groh
|
cf168fac50
LibJS: Implement [[Call]] and [[Construct]] internal slots properly
|
3 years ago |
davidot
|
830ea0414c
LibJS: Make scoping follow the spec
|
3 years ago |
Linus Groh
|
c5bd382524
LibJS: Leave NativeFunction's Realm unset if VM has no Interpreter
|
3 years ago |
Linus Groh
|
06e89311fa
LibJS: Set the callee context's realm in prepare_for_ordinary_call()
|
3 years ago |
Andreas Kling
|
44221756ab
LibJS: Drop "Record" suffix from all the *Environment record classes
|
4 years ago |
Idan Horowitz
|
581f20e6f2
LibJS: Accept FlyStrings in the NativeFunction constructors
|
4 years ago |
Andreas Kling
|
1bd52ce789
LibJS: Stop qualifying AK::Function
|
4 years ago |