diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-10 23:01:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-10 23:01:49 +0200 |
commit | f5feb1d2cd1198eb681592361340c5b02779524f (patch) | |
tree | 118761ab11d8b45f97dd77b6be3ba8874d4443a6 /Userland/Libraries/LibJS/Runtime/ReflectObject.cpp | |
parent | c3c68399b5e7019c30e5ac6fb7cb38d586f2a7f3 (diff) | |
download | serenity-f5feb1d2cd1198eb681592361340c5b02779524f.zip |
LibJS: Very basic support for "new" construction in bytecode VM
This patch adds a CallType to the Bytecode::Op::Call instruction,
which can be either Call or Construct. We then generate Construct
calls for the NewExpression AST node.
When executed, these get fed into VM::construct().
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ReflectObject.cpp')
0 files changed, 0 insertions, 0 deletions