Lines Matching defs:methodLiteral
65 MethodLiteral *methodLiteral = methodLiterals + (methodIdx++);
66 InitializeMemory(methodLiteral, methodId);
67 methodLiteral->Initialize(jsPandaFile, thread);
73 methodLiteral->SetIsShared(isShared);
75 methodLiteral->SetFunctionKind(kind);
85 TranslateBytecode(jsPandaFile, codeSize, insns, methodLiteral);
87 TranslateBytecode(jsPandaFile, codeSize, insns, methodLiteral, recordName);
91 jsPandaFile->SetMethodLiteralToMap(methodLiteral);
126 MethodLiteral *methodLiteral = methodLiterals + (methodIdx++);
127 InitializeMemory(methodLiteral, methodId);
128 methodLiteral->Initialize(jsPandaFile, thread);
133 methodLiteral->SetIsShared(isShared);
135 methodLiteral->SetFunctionKind(kind);
265 MethodLiteral *methodLiteral = jsPandaFile->FindMethodLiteral(it.first);
266 CHECK_INPUT_NULLPTR(methodLiteral,
267 "ParseConstPool:methodLiteral is nullptr, offset: " + std::to_string(it.first));
268 methodLiteral->SetFunctionKind(JSPandaFile::GetFunctionKind(type));
270 JSHandle<Method> method = factory->NewSMethod(methodLiteral);
336 MethodLiteral *methodLiteral = jsPandaFile->FindMethodLiteral(it.first);
337 CHECK_INPUT_NULLPTR(methodLiteral, "ParseFuncAndLiteralConstPool:methodLiteral is nullptr, offset: "
339 methodLiteral->SetFunctionKind(JSPandaFile::GetFunctionKind(type));
341 JSHandle<Method> method = factory->NewSMethod(methodLiteral);
1448 void PandaFileTranslator::UpdateICOffset(MethodLiteral *methodLiteral, uint8_t *pc)
1461 offset = methodLiteral->UpdateSlotSizeWith8Bit(1);
1476 offset = methodLiteral->UpdateSlotSizeWith8Bit(2); // 2: occupy two ic slot