Linus Groh
|
1b0c862f3a
LibJS: Throw TypeError when calling class constructor without 'new'
|
4 years ago |
Linus Groh
|
b07c7f589f
LibJS: Refactor ScriptFunction::call() a bit
|
4 years ago |
Linus Groh
|
39a1c9d827
LibJS: Implement 'new.target'
|
4 years ago |
Andreas Kling
|
d3dfd55472
LibJS: Prebake the empty object ({}) with a prototype
|
4 years ago |
Andreas Kling
|
7b863330dc
LibJS: Cache commonly used FlyStrings in the VM
|
4 years ago |
Andreas Kling
|
4c33209011
LibJS: Add Object::define_property_without_transition() helper
|
4 years ago |
Linus Groh
|
f9eaac62d9
LibJS: Use String::formatted() for throw_exception() message
|
4 years ago |
Andreas Kling
|
a007b3c379
LibJS: Move "strict mode" state to the call stack
|
4 years ago |
Matthew Olsson
|
6eb6752c4c
LibJS: Strict mode is now handled by Functions and Programs, not Blocks
|
4 years ago |
Andreas Kling
|
3df604ad12
LibJS: Reduce use of Interpreter in LexicalEnvironment
|
4 years ago |
Andreas Kling
|
063acda76e
LibJS: Remove a bunch of unnecessary uses of Cell::interpreter()
|
4 years ago |
Andreas Kling
|
f79d4c7347
LibJS: Remove Interpreter& argument to Function::construct()
|
4 years ago |
Andreas Kling
|
340a115dfe
LibJS: Make native function/property callbacks take VM, not Interpreter
|
4 years ago |
Andreas Kling
|
1ff9d33131
LibJS: Make Function::call() not require an Interpreter&
|
4 years ago |
Andreas Kling
|
be31805e8b
LibJS: Move scope stack from VM back to Interpreter
|
4 years ago |
Andreas Kling
|
6861c619c6
LibJS: Move most of Interpreter into VM
|
4 years ago |
Linus Groh
|
ec43f73b74
LibJS: Extract most of Interpreter's run() into execute_statement()
|
4 years ago |
Linus Groh
|
9ea6ef4ed1
LibJS: Make Interpreter::throw_exception() a void function
|
4 years ago |
Andreas Kling
|
aaf6014ae1
LibJS: Simplify Cell::initialize()
|
5 years ago |
Matthew Olsson
|
bda39ef7ab
LibJS: Explicitly pass a "Function& new_target" to Function::construct
|
5 years ago |
Jack Karamanian
|
7533fd8b02
LibJS: Initial class implementation; allow super expressions in object
|
5 years ago |
Jack Karamanian
|
949bffdc93
LibJS: Define the "constructor" property on ScriptFunction's prototype
|
5 years ago |
Andreas Kling
|
2fe4285693
LibJS: Object::initialize() overrides must always call base class
|
5 years ago |
Andreas Kling
|
06e29fac57
LibJS: Split more native object constructors into construct/initialize
|
5 years ago |
Andreas Kling
|
8d56e6103e
LibJS: Make Value::to_object() take a GlobalObject&
|
5 years ago |
Andreas Kling
|
cd14ebb11f
LibJS: More Interpreter::global_object() removal
|
5 years ago |
Andreas Kling
|
64513f3c23
LibJS: Move native objects towards two-pass construction
|
5 years ago |
Andreas Kling
|
e4add19915
LibJS: Pass GlobalObject& to native functions and property accessors
|
5 years ago |
Matthew Olsson
|
78155a6668
LibJS: Consolidate error messages into ErrorTypes.h
|
5 years ago |
Andreas Kling
|
5042e560ef
LibJS: Make more Interpreter functions take a GlobalObject&
|
5 years ago |