ladybird/Userland/Libraries/LibJS/Bytecode
Linus Groh e37cf73300 LibJS: Rename OrdinaryFunctionObject to ECMAScriptFunctionObject
The old name is the result of the perhaps somewhat confusingly named
abstract operation OrdinaryFunctionCreate(), which creates an "ordinary
object" (https://tc39.es/ecma262/#ordinary-object) in contrast to an
"exotic object" (https://tc39.es/ecma262/#exotic-object).

However, the term "Ordinary Function" is not used anywhere in the spec,
instead the created object is referred to as an "ECMAScript Function
Object" (https://tc39.es/ecma262/#sec-ecmascript-function-objects), so
let's call it that.

The "ordinary" vs. "exotic" distinction is important because there are
also "Built-in Function Objects", which can be either implemented as
ordinary ECMAScript function objects, or as exotic objects (our
NativeFunction).

More work needs to be done to move a lot of infrastructure to
ECMAScriptFunctionObject in order to make FunctionObject nothing more
than an interface for objects that implement [[Call]] and optionally
[[Construct]].
2021-09-25 17:51:30 +02:00
..
Pass LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
ASTCodegen.cpp LibJS: Rename {Abstract,Typed => Loosely,Strictly}{Equals,Inequals} 2021-09-24 09:13:57 +02:00
BasicBlock.cpp LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
BasicBlock.h LibJS: Make basic block size customizable 2021-06-15 22:06:33 +04:30
Generator.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
Generator.h LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Instruction.cpp LibJS: Move Instruction::length() to the Op.h header 2021-06-09 09:24:32 +02:00
Instruction.h LibJS: Rename {Abstract,Typed => Loosely,Strictly}{Equals,Inequals} 2021-09-24 09:13:57 +02:00
Interpreter.cpp LibJS: Also set ExecutionContext::realm in Bytecode::Interpreter::run() 2021-09-13 21:06:18 +01:00
Interpreter.h LibJS: Allocate a Realm next to GlobalObject in Interpreter::create() 2021-09-12 11:10:20 +01:00
Label.h LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
Op.cpp LibJS: Rename OrdinaryFunctionObject to ECMAScriptFunctionObject 2021-09-25 17:51:30 +02:00
Op.h LibJS: Rename {Abstract,Typed => Loosely,Strictly}{Equals,Inequals} 2021-09-24 09:13:57 +02:00
PassManager.h LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
Register.h LibJS: Always keep the global object in bytecode VM register $1 2021-06-10 21:59:49 +02:00
StringTable.cpp LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00
StringTable.h LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00