diff options
author | Linus Groh <mail@linusgroh.de> | 2022-04-11 21:32:37 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-11 21:32:37 +0100 |
commit | 24d772af7c41bd9e5b0dc7f317591c43af632516 (patch) | |
tree | e8bbbce19cdb7c4f48b60f075041b9340870e380 /Userland/Libraries/LibJS/Interpreter.cpp | |
parent | 90f14de1e90854ff8cb364c0d05bc6afca9334b9 (diff) | |
download | serenity-24d772af7c41bd9e5b0dc7f317591c43af632516.zip |
LibJS: Move additional notes to spec comments onto their own line
Having all spec comments verbatim on their own line with no additions
made by us will make it easier to automate comparing said comments to
their current spec counterparts.
Diffstat (limited to 'Userland/Libraries/LibJS/Interpreter.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Interpreter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Interpreter.cpp b/Userland/Libraries/LibJS/Interpreter.cpp index 6d997698ba..19ffcca15e 100644 --- a/Userland/Libraries/LibJS/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Interpreter.cpp @@ -52,7 +52,8 @@ ThrowCompletionOr<Value> Interpreter::run(Script& script_record) // 2. Let scriptContext be a new ECMAScript code execution context. ExecutionContext script_context(vm.heap()); - // 3. Set the Function of scriptContext to null. (This was done in the construction of script_context) + // 3. Set the Function of scriptContext to null. + // NOTE: This was done during execution context construction. // 4. Set the Realm of scriptContext to scriptRecord.[[Realm]]. script_context.realm = &script_record.realm(); |