summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/ReflectObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-10 23:01:49 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-10 23:01:49 +0200
commitf5feb1d2cd1198eb681592361340c5b02779524f (patch)
tree118761ab11d8b45f97dd77b6be3ba8874d4443a6 /Userland/Libraries/LibJS/Runtime/ReflectObject.cpp
parentc3c68399b5e7019c30e5ac6fb7cb38d586f2a7f3 (diff)
downloadserenity-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