mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Divide CodeBlock into NativeCodeBlock and InterpretedCodeBlock
* NativeCodeBlock is newly added for NativeFunctionObject * all interpreter-related info is moved into InterpretedCodeBlock Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
cd09ccbb07
commit
2fe9333814
45 changed files with 842 additions and 814 deletions
|
|
@ -27,7 +27,7 @@ namespace Escargot {
|
|||
// {method, get, set} of object literal also uses this class
|
||||
class ScriptClassMethodFunctionObject : public ScriptFunctionObject {
|
||||
public:
|
||||
ScriptClassMethodFunctionObject(ExecutionState& state, Object* proto, CodeBlock* codeBlock, LexicalEnvironment* outerEnvironment, Object* homeObject)
|
||||
ScriptClassMethodFunctionObject(ExecutionState& state, Object* proto, InterpretedCodeBlock* codeBlock, LexicalEnvironment* outerEnvironment, Object* homeObject)
|
||||
: ScriptFunctionObject(state, proto, codeBlock, outerEnvironment, false, codeBlock->isGenerator(), codeBlock->isAsync())
|
||||
, m_homeObject(homeObject)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue