Home
last modified time | relevance | path

Searched refs:lexenv (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.h115 const JSHandle<JSTaggedValue> &lexenv);
119 const JSHandle<JSTaggedValue> &lexenv,
129 const JSHandle<JSTaggedValue> &lexenv);
134 const JSHandle<JSTaggedValue> &lexenv);
137 const JSHandle<JSTaggedValue> &lexenv, JSHandle<TaggedArray> &elements);
197 const JSHandle<JSTaggedValue> &lexenv);
H A Dclass_info_extractor.cpp386 const JSHandle<JSTaggedValue> &lexenv) in DefineClassFromExtractor()
416 propValue.Update(CreateJSFunctionFromTemplate(thread, literalFunc, prototype, lexenv)); in DefineClassFromExtractor()
422 ClassPropertyType::NON_STATIC, lexenv); in DefineClassFromExtractor()
429 ClassHelper::HandleElementsProperties(thread, prototype, lexenv, nonStaticElements); in DefineClassFromExtractor()
441 CreateJSFunctionFromTemplate(thread, literalFunc, JSHandle<JSObject>(constructor), lexenv)); in DefineClassFromExtractor()
447 staticProperties, ClassPropertyType::STATIC, lexenv); in DefineClassFromExtractor()
454 ClassHelper::HandleElementsProperties(thread, JSHandle<JSObject>(constructor), lexenv, staticElements); in DefineClassFromExtractor()
472 const JSHandle<JSTaggedValue> &lexenv, in DefineClassWithIHClass()
522 propValue.Update(CreateJSFunctionFromTemplate(thread, literalFunc, prototype, lexenv)); in DefineClassWithIHClass()
528 ClassPropertyType::NON_STATIC, lexenv); in DefineClassWithIHClass()
384 DefineClassFromExtractor(JSThread *thread, const JSHandle<JSTaggedValue> &base, JSHandle<ClassInfoExtractor> &extractor, const JSHandle<JSTaggedValue> &lexenv) DefineClassFromExtractor() argument
470 DefineClassWithIHClass(JSThread *thread, const JSHandle<JSTaggedValue> &base, JSHandle<ClassInfoExtractor> &extractor, const JSHandle<JSTaggedValue> &lexenv, const JSHandle<JSTaggedValue> &prototypeOrHClassVal, const JSHandle<JSTaggedValue> &constructorHClassVal) DefineClassWithIHClass() argument
584 CreateJSFunctionFromTemplate(JSThread *thread, const JSHandle<FunctionTemplate> &funcTemp, const JSHandle<JSObject> &homeObject, const JSHandle<JSTaggedValue> &lexenv) CreateJSFunctionFromTemplate() argument
597 BuildDictionaryProperties(JSThread *thread, const JSHandle<JSObject> &object, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties, ClassPropertyType type, const JSHandle<JSTaggedValue> &lexenv) BuildDictionaryProperties() argument
712 HandleElementsProperties(JSThread *thread, const JSHandle<JSObject> &object, const JSHandle<JSTaggedValue> &lexenv, JSHandle<TaggedArray> &elements) HandleElementsProperties() argument
916 CreateSFunctionFromTemplate(JSThread *thread, const JSHandle<FunctionTemplate> &funcTemp, const JSHandle<JSObject> &homeObject, const JSHandle<JSTaggedValue> &lexenv) CreateSFunctionFromTemplate() argument
[all...]
/arkcompiler/ets_frontend/es2panda/util/
H A DpatchFix.cpp309 for (const auto &lexenv : functionIter->second.lexenv) { in GetSlotIdFromSymbolTable()
310 if (lexenv.second.first == variableName) { in GetSlotIdFromSymbolTable()
311 return lexenv.first; in GetSlotIdFromSymbolTable()
322 return functionIter->second.lexenv.size(); in GetEnvSizeOfFuncMain0()
487 auto &lexenv = bytecodeInfo.lexenv; in CompareLexenv() local
489 if (lexenv.size() != lexicalVarNameAndTypes.size()) { in CompareLexenv()
497 auto lexenvIter = lexenv.find(varSlot); in CompareLexenv()
498 if (lexenvIter == lexenv in CompareLexenv()
[all...]
H A DsymbolTable.h33 ArenaMap<uint32_t, std::pair<std::string, int>> lexenv; // lexenv: <slot, <name, type>> member
36 explicit OriginFunctionInfo(ArenaAllocator *allocator) : lexenv(allocator->Adapter()), in OriginFunctionInfo()
H A DsymbolTable.cpp111 info.lexenv.insert({slot, std::pair<std::string, int>(name, type)}); in ReadSymbolTable()
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dslow_runtime_stub.h170 JSTaggedValue lexenv);
172 JSTaggedValue lexenv);
174 JSTaggedValue lexenv, JSTaggedValue constpool,
H A Dslow_runtime_stub.cpp1109 JSTaggedValue base, JSTaggedValue lexenv) in ResolveClass()
1114 JSHandle<JSTaggedValue> lexicalEnv(thread, lexenv); in ResolveClass()
1120 JSTaggedValue lexenv) in CloneClassFromTemplate()
1124 JSHandle<JSTaggedValue> lexenvHandle(thread, lexenv); in CloneClassFromTemplate()
1132 JSTaggedValue lexenv, JSTaggedValue constpool, in CreateClassWithBuffer()
1138 JSHandle<JSTaggedValue> lexenvHandle(thread, lexenv); in CreateClassWithBuffer()
1108 ResolveClass(JSThread *thread, JSTaggedValue ctor, TaggedArray *literal, JSTaggedValue base, JSTaggedValue lexenv) ResolveClass() argument
1119 CloneClassFromTemplate(JSThread *thread, JSTaggedValue ctor, JSTaggedValue base, JSTaggedValue lexenv) CloneClassFromTemplate() argument
1131 CreateClassWithBuffer(JSThread *thread, JSTaggedValue base, JSTaggedValue lexenv, JSTaggedValue constpool, uint16_t methodId, uint16_t literalId, JSTaggedValue module, JSTaggedValue length) CreateClassWithBuffer() argument
H A Dinterpreter-inl.cpp5063 << " method id:" << methodId << " lexenv: v" << v0; in RunInternal()
5085 << " method id:" << methodId << " lexenv: v" << v0; in RunInternal()
5107 << " method id:" << methodId << " lexenv: v" << v0 << " parent: v" << v1; in RunInternal()
5109 JSTaggedValue lexenv = GET_VREG_VALUE(v0); in RunInternal() local
5114 SlowRuntimeStub::CreateClassWithBuffer(thread, proto, lexenv, GetConstantPool(sp), in RunInternal()
H A Dinterpreter_assembly.cpp4571 << " method id:" << methodId << " lexenv: v" << v0 << " parent: v" << v1;
4573 JSTaggedValue lexenv = GET_VREG_VALUE(v0);
4578 SlowRuntimeStub::CreateClassWithBuffer(thread, proto, lexenv, GetConstantPool(sp),
5933 << " method id:" << methodId << " lexenv: v" << v0;
5959 << " method id:" << methodId << " lexenv: v" << v0;
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.h247 const JSHandle<JSTaggedValue> &lexenv);
250 const JSHandle<JSTaggedValue> &lexenv);
253 const JSHandle<JSTaggedValue> &lexenv,
H A Druntime_stubs-inl.h856 const JSHandle<JSTaggedValue> &lexenv) in RuntimeResolveClass()
875 func->SetLexicalEnv(thread, lexenv.GetTaggedValue()); in RuntimeResolveClass()
885 const JSHandle<JSTaggedValue> &lexenv) in RuntimeCloneClassFromTemplate()
894 JSHandle<JSFunction> cloneClass = factory->CloneClassCtor(ctor, lexenv, canShareHClass); in RuntimeCloneClassFromTemplate()
896 JSHandle<JSObject> cloneClassPrototype = factory->CloneObjectLiteral(JSHandle<JSObject>(clsPrototype), lexenv, in RuntimeCloneClassFromTemplate()
930 const JSHandle<JSTaggedValue> &lexenv, in RuntimeCreateClassWithBuffer()
975 cls = ClassHelper::DefineClassWithIHClass(thread, base, extractor, lexenv, ihc, chc); in RuntimeCreateClassWithBuffer()
977 cls = ClassHelper::DefineClassFromExtractor(thread, base, extractor, lexenv); in RuntimeCreateClassWithBuffer()
984 cls->SetLexicalEnv(thread, lexenv.GetTaggedValue()); in RuntimeCreateClassWithBuffer()
853 RuntimeResolveClass(JSThread *thread, const JSHandle<JSFunction> &ctor, const JSHandle<TaggedArray> &literal, const JSHandle<JSTaggedValue> &base, const JSHandle<JSTaggedValue> &lexenv) RuntimeResolveClass() argument
883 RuntimeCloneClassFromTemplate(JSThread *thread, const JSHandle<JSFunction> &ctor, const JSHandle<JSTaggedValue> &base, const JSHandle<JSTaggedValue> &lexenv) RuntimeCloneClassFromTemplate() argument
928 RuntimeCreateClassWithBuffer(JSThread *thread, const JSHandle<JSTaggedValue> &base, const JSHandle<JSTaggedValue> &lexenv, const JSHandle<JSTaggedValue> &constpool, uint16_t methodId, uint16_t literalId, const JSHandle<JSTaggedValue> &module, const JSHandle<JSTaggedValue> &length) RuntimeCreateClassWithBuffer() argument
H A Druntime_stubs.cpp1487 JSHandle<JSTaggedValue> lexenv = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS() local
1494 auto res = RuntimeCreateClassWithBuffer(thread, base, lexenv, constpool, in DEF_RUNTIME_STUBS()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A Dpandagen.h204 void DefineClassWithBuffer(const ir::AstNode *node, const util::StringView &ctorId, uint32_t litIdx, VReg lexenv,
H A Dpandagen.cpp25 #include "compiler/base/lexenv.h"
1534 VReg lexenv, VReg base) in DefineClassWithBuffer()
1536 Ra().Emit<EcmaDefineclasswithbuffer>(node, ctorId, litIdx, lexenv, base); in DefineClassWithBuffer()
1533 DefineClassWithBuffer(const ir::AstNode *node, const util::StringView &ctorId, uint32_t litIdx, VReg lexenv, VReg base) DefineClassWithBuffer() argument
H A DJSCompiler.cpp378 compiler::VReg lexenv = pg->LexEnv(); in Compile() local
388 pg->DefineClassWithBuffer(node, ctorId, bufIdx, lexenv, baseReg); in Compile()
/arkcompiler/ets_runtime/ecmascript/
H A Dobject_factory.cpp740 JSHandle<JSFunction> ObjectFactory::CloneClassCtor(JSHandle<JSFunction> ctor, const JSHandle<JSTaggedValue> &lexenv, in CloneClassCtor() argument
765 newFunc->SetLexicalEnv(thread_, lexenv); in CloneClassCtor()
772 auto newElements = CloneProperties(elements, lexenv, JSHandle<JSObject>(cloneCtor)); in CloneClassCtor()
776 auto newProperties = CloneProperties(properties, lexenv, JSHandle<JSObject>(cloneCtor)); in CloneClassCtor()
H A Dobject_factory.h499 JSHandle<JSFunction> CloneClassCtor(JSHandle<JSFunction> ctor, const JSHandle<JSTaggedValue> &lexenv,
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp22 #include <compiler/base/lexenv.h>

Completed in 64 milliseconds