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.h | |
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.h')
-rw-r--r-- | Userland/Libraries/LibJS/Interpreter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Interpreter.h b/Userland/Libraries/LibJS/Interpreter.h index ce3e8dfefd..f66e302164 100644 --- a/Userland/Libraries/LibJS/Interpreter.h +++ b/Userland/Libraries/LibJS/Interpreter.h @@ -50,12 +50,14 @@ public: // 2. Let newContext be a new execution context. auto& new_context = interpreter->m_global_execution_context; - // 3. Set the Function of newContext to null. (This is done for us when the execution context is constructed) + // 3. Set the Function of newContext to null. + // NOTE: This was done during execution context construction. // 4. Set the Realm of newContext to realm. new_context.realm = realm; - // 5. Set the ScriptOrModule of newContext to null. (This was done during execution context construction) + // 5. Set the ScriptOrModule of newContext to null. + // NOTE: This was done during execution context construction. // 6. Push newContext onto the execution context stack; newContext is now the running execution context. vm.push_execution_context(new_context); |