Lines Matching refs:node
23 void AsyncFunctionBuilder::DirectReturn(const ir::AstNode *node) const in DirectReturn()
25 pg_->AsyncFunctionResolve(node, funcObj_); in DirectReturn()
26 pg_->EmitReturn(node); in DirectReturn()
29 void AsyncFunctionBuilder::ImplicitReturn(const ir::AstNode *node) const in ImplicitReturn()
31 pg_->LoadConst(node, Constant::JS_UNDEFINED); in ImplicitReturn()
32 DirectReturn(node); in ImplicitReturn()
35 void AsyncFunctionBuilder::Prepare(const ir::ScriptFunction *node) const in Prepare()
37 pg_->AsyncFunctionEnter(node); in Prepare()
38 pg_->StoreAccumulator(node, funcObj_); in Prepare()
39 pg_->SetLabel(node, catchTable_->LabelSet().TryBegin()); in Prepare()
42 void AsyncFunctionBuilder::CleanUp(const ir::ScriptFunction *node) const in CleanUp()
46 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp()
47 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp()
48 pg_->AsyncFunctionReject(node, funcObj_); in CleanUp()
49 pg_->EmitReturn(node); in CleanUp()
50 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()