Luke Wilde
|
f71f404e0c
LibWeb: Introduce the Environment Settings Object
|
3 years ago |
Andreas Kling
|
7a742b17da
LibJS: Store ECMAScriptFunctionObject bytecode in an OwnPtr
|
3 years ago |
Andreas Kling
|
8d3f92c844
LibJS: Make JS::ECMAScriptFunctionObject smaller by reordering members
|
3 years ago |
davidot
|
57c5a59cab
LibJS: Add ScriptOrModule to execution context and track it everywhere
|
3 years ago |
davidot
|
39b134e8c1
LibJS: Move async_block_start out of ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
1ee7e97e24
LibJS: Pass source text to ECMAScriptFunctionObject::create()
|
3 years ago |
Linus Groh
|
13fe4e8c64
LibJS: Allow passing prototype to ECMAScriptFunctionObject::create()
|
3 years ago |
Linus Groh
|
0c73fbbba5
LibJS: Rename FunctionKind::{Regular => Normal}
|
3 years ago |
Linus Groh
|
7204b292c5
LibJS: Implement and use the MakeMethod AO
|
3 years ago |
davidot
|
5d0f666f22
LibJS: Don't set a prototype property on async functions
|
3 years ago |
Linus Groh
|
7cdca08090
LibJS: Convert prepare_for_ordinary_call() to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
681787de76
LibJS: Add support for async functions
|
3 years ago |
Andreas Kling
|
398c181c79
LibJS: Rename PropertyName to PropertyKey
|
3 years ago |
davidot
|
4c8090a45d
LibJS: Use ClassFieldInitializerStatement for class fields
|
3 years ago |
davidot
|
16cc82460f
LibJS: Add parsing and evaluation of private fields and methods
|
3 years ago |
davidot
|
13ead80ee6
LibJS: Add PrivateEnvironment
|
3 years ago |
davidot
|
1245512c50
LibJS: Make class definition evaluation more spec like in ordering
|
3 years ago |
Linus Groh
|
fe5c2b7bb9
LibJS: Decouple new_function_environment() from FunctionObject
|
3 years ago |
Linus Groh
|
53af66d57d
LibJS: Move ordinary_call_bind_this() to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
25bcd36116
LibJS: Move prepare_for_ordinary_call() to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
cf168fac50
LibJS: Implement [[Call]] and [[Construct]] internal slots properly
|
3 years ago |
Andreas Kling
|
b2de563166
LibJS: Propagate "contains direct call to eval()" flag from parser
|
3 years ago |
Linus Groh
|
4fa5748093
LibJS: Add an optimization to avoid needless arguments object creation
|
3 years ago |
davidot
|
830ea0414c
LibJS: Make scoping follow the spec
|
3 years ago |
Linus Groh
|
38157a6093
LibJS: Move has_constructor() from NativeFunction to FunctionObject
|
3 years ago |
Linus Groh
|
2dba048146
LibJS: Remove unused FunctionObject::environment()
|
3 years ago |
Linus Groh
|
9043041dd3
LibJS: Move [[BoundThis]] and [[BoundArguments]] to BoundFunction
|
3 years ago |
Linus Groh
|
a08292d76c
LibJS: Move has_simple_parameter_list to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
76eb8fe717
LibJS: Move [[Fields]] to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
136451c3af
LibJS: Move [[HomeObject]] to ECMAScriptFunctionObject
|
3 years ago |