Lines Matching defs:methodDef
233 const auto *methodDef = prop->AsMethodDefinition();
234 if (!methodDef->IsPrivate()) {
238 compiler::LiteralBuffer *literalBuf = methodDef->IsStatic() ? &staticBuf : (instancePropertyCount++, buf);
239 const ir::FunctionExpression *func = methodDef->Value()->AsFunctionExpression();
244 switch (methodDef->Kind()) {
365 auto *methodDef = stmt->AsMethodDefinition();
366 if (methodDef->Computed()) {
368 methodDef->SetKeyReg(keyReg);
369 methodDef->Key()->Compile(pg);
370 pg->ToComputedPropertyKey(methodDef->Key());
371 pg->StoreAccumulator(methodDef->Key(), keyReg);
475 auto *methodDef = stmt->AsMethodDefinition();
476 if (methodDef->IsPrivate()) {
478 methodDef->IsStatic() ? staticPrivateMethodCnt ++ : instancePrivateMethodCnt++;
479 } else if (methodDef->Computed()) {