mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Implement basic tail call optimization for normal function
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
0e0b759817
commit
283873a291
18 changed files with 540 additions and 92 deletions
|
|
@ -42,6 +42,11 @@ protected:
|
|||
{
|
||||
}
|
||||
|
||||
virtual bool isScriptSimpleFunctionObject() const override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual Value call(ExecutionState& state, const Value& thisValue, const size_t argc, Value* argv) override
|
||||
{
|
||||
CHECK_STACK_OVERFLOW(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue