/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub.cpp | 35 GateRef argument = env_.GetArgument(i); in InitializeArguments() local 38 acc_.SetMachineType(argument, type); in InitializeArguments() 40 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments() 42 acc_.SetGateType(argument, paramsType[i].GetGateType()); in InitializeArguments()
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | awaitExpression.cpp | 44 dumper->Add({{"type", "AwaitExpression"}, {"argument", AstDumper::Nullish(argument_)}}); in Dump() 77 auto *const argument = argument_ != nullptr ? argument_->Clone(allocator, nullptr)->AsExpression() : nullptr; in Clone() local 79 if (auto *const clone = allocator->New<AwaitExpression>(argument); clone != nullptr) { in Clone() 80 if (argument != nullptr) { in Clone() 81 argument->SetParent(clone); in Clone()
|
H A D | updateExpression.cpp | 46 dumper->Add({{"type", "UpdateExpression"}, {"operator", operator_}, {"prefix", prefix_}, {"argument", argument_}}); in Dump() 85 auto *const argument = argument_ != nullptr ? argument_->Clone(allocator, nullptr)->AsExpression() : nullptr; in Clone() local 87 if (auto *const clone = allocator->New<UpdateExpression>(argument, operator_, prefix_); clone != nullptr) { in Clone() 88 if (argument != nullptr) { in Clone() 89 argument->SetParent(clone); in Clone()
|
H A D | unaryExpression.cpp | 40 dumper->Add({{"type", "UnaryExpression"}, {"operator", operator_}, {"prefix", true}, {"argument", argument_}}); in Dump() 77 auto *const argument = argument_ != nullptr ? argument_->Clone(allocator, nullptr)->AsExpression() : nullptr; in Clone() local 79 if (auto *const clone = allocator->New<UnaryExpression>(argument, operator_); clone != nullptr) { in Clone() 80 if (argument != nullptr) { in Clone() 81 argument->SetParent(clone); in Clone()
|
H A D | yieldExpression.cpp | 45 dumper->Add({{"type", "YieldExpression"}, {"delegate", delegate_}, {"argument", AstDumper::Nullish(argument_)}}); in Dump() 75 auto *const argument = argument_ != nullptr ? argument_->Clone(allocator, nullptr)->AsExpression() : nullptr; in Clone() local 77 if (auto *const clone = allocator->New<YieldExpression>(argument, delegate_); clone != nullptr) { in Clone() 78 if (argument != nullptr) { in Clone() 79 argument->SetParent(clone); in Clone()
|
H A D | typeofExpression.cpp | 41 dumper->Add({{"type", "TypeofExpression"}, {"argument", argument_}}); in Dump() 74 auto *const argument = argument_->Clone(allocator, nullptr)->AsExpression(); in Clone() local 76 if (auto *const clone = allocator->New<TypeofExpression>(argument); clone != nullptr) { in Clone() 77 argument->SetParent(clone); in Clone()
|
H A D | awaitExpression.h | 34 explicit AwaitExpression(Expression *argument) : Expression(AstNodeType::AWAIT_EXPRESSION), argument_(argument) {} in AwaitExpression() argument
|
H A D | typeofExpression.h | 29 explicit TypeofExpression(Expression *const argument) in TypeofExpression() argument 30 : Expression(AstNodeType::TYPEOF_EXPRESSION), argument_(argument) in TypeofExpression()
|
H A D | yieldExpression.h | 34 explicit YieldExpression(Expression *const argument, bool const isDelegate) in YieldExpression() argument 35 : Expression(AstNodeType::YIELD_EXPRESSION), argument_(argument), delegate_(isDelegate) in YieldExpression()
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsNewClassInstanceExpression.cpp | 75 for (auto argument : arguments_) { in Dump() 76 argument->Dump(dumper); in Dump() 77 if (argument != arguments_.back()) { in Dump() 112 for (auto *const argument : other.arguments_) { in ETSNewClassInstanceExpression() 113 arguments_.emplace_back(argument->Clone(allocator, this)->AsExpression()); in ETSNewClassInstanceExpression()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | opAssignment.cpp | 236 auto *argument = upd->Argument(); in ConstructUpdateResult() local 253 if (argument->IsIdentifier()) { in ConstructUpdateResult() 254 id1 = GetClone(allocator, argument->AsIdentifier()); in ConstructUpdateResult() 255 } else if (argument->IsMemberExpression()) { in ConstructUpdateResult() 256 auto *memberExpression = argument->AsMemberExpression(); in ConstructUpdateResult() 277 std::string suffix = (argument->TsType() == checker->GlobalETSBigIntType()) ? "n" : ""; in ConstructUpdateResult() 281 newAssignmentStatements += GenFormatForExpression(argument, 7U, 8U) + " = (" + in ConstructUpdateResult() 282 GenFormatForExpression(argument, 9U, 10U) + opSign + " 1" + suffix + ") as @@T11;"; in ConstructUpdateResult() 285 GetClone(allocator, id2), GetClone(allocator, id1), GetClone(allocator, id2), argument->TsType()); in ConstructUpdateResult() 290 newAssignmentStatements += "const @@I7 = " + GenFormatForExpression(argument, in ConstructUpdateResult() [all...] |
H A D | enumPostCheckLowering.cpp | 27 checker::ETSEnumType::Method (checker::ETSEnumType::*getMethod)() const, ir::Expression *argument) in CreateCall() 31 (argument->TsType()->AsETSEnumType()->*getMethod)().memberProxyType->Name(), checker->Allocator()); in CreateCall() 37 callArguments.push_back(argument); in CreateCall() 25 CreateCall( checker::ETSChecker *checker, ir::ClassDefinition *const classDef, checker::ETSEnumType::Method (checker::ETSEnumType::*getMethod)() const, ir::Expression *argument) CreateCall() argument
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | tagged_array.cpp | 69 JSHandle<TaggedArray> argument = factory->NewTaggedArray(length); 72 argument->Set(thread, index, first->Get(index)); 75 argument->Set(thread, index, second->Get(index - firstLength)); 77 return argument; 88 JSHandle<TaggedArray> argument = factory->NewTaggedArray(copyLength); in AppendSkipHole() local 95 argument->Set(thread, index, val); in AppendSkipHole() 103 argument->Set(thread, index++, val); in AppendSkipHole() 106 return argument; in AppendSkipHole()
|
/arkcompiler/runtime_core/static_core/runtime/fibers/ |
H A D | fiber_context.h | 69 * @param argument an optional argument to be passed to the func. Can be nullptr if needed. Might be a pointer to some 75 extern "C" int UpdateContext(FiberContext *ctx, FiberEntry func, void *argument, uint8_t *stack, size_t stackSizeBytes); 82 extern "C" int UpdateContextKeepStack(FiberContext *ctx, FiberEntry func, void *argument);
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | yieldExpressionBuilder.h | 29 YieldExpressionBuilder &SetArgument(Expression *argument) in SetArgument() argument 31 argument_ = argument; in SetArgument()
|
H A D | etsNewClassInstanceExpressionBuilder.h | 44 ETSNewClassInstanceExpressionBuilder &AddArgument(ir::Expression *argument) in AddArgument() argument 46 arguments_.emplace_back(argument); in AddArgument()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | yieldExpression.h | 35 explicit YieldExpression(Expression *argument, bool isDelegate) in YieldExpression() argument 36 : Expression(AstNodeType::YIELD_EXPRESSION), argument_(argument), delegate_(isDelegate) in YieldExpression()
|
H A D | awaitExpression.h | 34 explicit AwaitExpression(Expression *argument) : Expression(AstNodeType::AWAIT_EXPRESSION), argument_(argument) {} in AwaitExpression() argument
|
H A D | updateExpression.h | 34 explicit UpdateExpression(Expression *argument, lexer::TokenType updateOperator, bool isPrefix) in UpdateExpression() argument 36 argument_(argument), in UpdateExpression()
|
H A D | unaryExpression.h | 35 explicit UnaryExpression(Expression *argument, lexer::TokenType unaryOperator) in UnaryExpression() argument 36 : Expression(AstNodeType::UNARY_EXPRESSION), argument_(argument), operator_(unaryOperator) in UnaryExpression()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | returnStatement.h | 35 explicit ReturnStatement(Expression *argument) : Statement(AstNodeType::RETURN_STATEMENT), argument_(argument) {} in ReturnStatement() argument
|
H A D | throwStatement.h | 36 explicit ThrowStatement(Expression *argument) : Statement(AstNodeType::THROW_STATEMENT), argument_(argument) {} in ThrowStatement() argument
|
/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | throwStatement.h | 30 explicit ThrowStatement(Expression *argument) : Statement(AstNodeType::THROW_STATEMENT), argument_(argument) {} in ThrowStatement() argument
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | spreadElement.h | 35 explicit SpreadElement(AstNodeType nodeType, Expression *argument) : Expression(nodeType), argument_(argument) {} in SpreadElement() argument
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | function.cpp | 96 // Check if the type parameter is in the signature, and the type argument is not already in the return vector in InsertTypeIntoSubstitution() 313 bool ETSChecker::CheckOptionalLambdaFunction(ir::Expression *argument, Signature *substitutedSig, std::size_t index) in CheckOptionalLambdaFunction() argument 315 if (argument->IsArrowFunctionExpression()) { in CheckOptionalLambdaFunction() 316 auto *const arrowFuncExpr = argument->AsArrowFunctionExpression(); in CheckOptionalLambdaFunction() 344 auto &argument = arguments[index]; in ValidateSignatureRequiredParams() local 346 if (argument->IsObjectExpression()) { in ValidateSignatureRequiredParams() 348 // No chance to check the argument at this point in ValidateSignatureRequiredParams() 354 if (argument->IsMemberExpression()) { in ValidateSignatureRequiredParams() 357 } else if (argument->IsSpreadElement()) { in ValidateSignatureRequiredParams() 359 LogTypeError("Spread argument canno in ValidateSignatureRequiredParams() 400 CheckInvokable(Signature *substitutedSig, ir::Expression *argument, std::size_t index, TypeRelationFlag flags) CheckInvokable() argument 414 ValidateSignatureInvocationContext(Signature *substitutedSig, ir::Expression *argument, const Type *targetType, std::size_t index, TypeRelationFlag flags) ValidateSignatureInvocationContext() argument 437 auto &argument = arguments[index]; ValidateSignatureRestParams() local [all...] |