/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.h | 115 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 D | class_info_extractor.cpp | 386 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 D | patchFix.cpp | 309 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 D | symbolTable.h | 33 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 D | symbolTable.cpp | 111 info.lexenv.insert({slot, std::pair<std::string, int>(name, type)}); in ReadSymbolTable()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | slow_runtime_stub.h | 170 JSTaggedValue lexenv); 172 JSTaggedValue lexenv); 174 JSTaggedValue lexenv, JSTaggedValue constpool,
|
H A D | slow_runtime_stub.cpp | 1109 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 D | interpreter-inl.cpp | 5063 << " 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 D | interpreter_assembly.cpp | 4571 << " 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 D | runtime_stubs.h | 247 const JSHandle<JSTaggedValue> &lexenv);
250 const JSHandle<JSTaggedValue> &lexenv);
253 const JSHandle<JSTaggedValue> &lexenv,
|
H A D | runtime_stubs-inl.h | 856 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 D | runtime_stubs.cpp | 1487 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 D | pandagen.h | 204 void DefineClassWithBuffer(const ir::AstNode *node, const util::StringView &ctorId, uint32_t litIdx, VReg lexenv,
|
H A D | pandagen.cpp | 25 #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 D | JSCompiler.cpp | 378 compiler::VReg lexenv = pg->LexEnv(); in Compile() local 388 pg->DefineClassWithBuffer(node, ctorId, bufIdx, lexenv, baseReg); in Compile()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_factory.cpp | 740 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 D | object_factory.h | 499 JSHandle<JSFunction> CloneClassCtor(JSHandle<JSFunction> ctor, const JSHandle<JSTaggedValue> &lexenv,
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | pandagen.cpp | 22 #include <compiler/base/lexenv.h>
|