Lines Matching refs:pg_
27 VReg completionType = pg_->AllocReg(); in Prepare()
28 VReg completionValue = pg_->AllocReg(); in Prepare()
30 pg_->CreateGeneratorObj(node, callee); in Prepare()
31 pg_->StoreAccumulator(node, funcObj_); in Prepare()
32 pg_->LoadConst(node, Constant::JS_UNDEFINED); in Prepare()
41 pg_->SetLabel(node, labelSet.TryEnd()); in CleanUp()
42 pg_->SetLabel(node, labelSet.CatchBegin()); in CleanUp()
43 pg_->EmitThrow(node); in CleanUp()
44 pg_->SetLabel(node, labelSet.CatchEnd()); in CleanUp()
49 pg_->EmitReturn(node); in DirectReturn()
54 pg_->LoadConst(node, Constant::JS_UNDEFINED); in ImplicitReturn()
65 RegScope rs(pg_); in Yield()
66 VReg value = pg_->AllocReg(); in Yield()
67 VReg done = pg_->AllocReg(); in Yield()
68 VReg completionType = pg_->AllocReg(); in Yield()
69 VReg completionValue = pg_->AllocReg(); in Yield()
71 pg_->StoreAccumulator(node, value); in Yield()
72 pg_->LoadConst(node, Constant::JS_FALSE); in Yield()
73 pg_->StoreAccumulator(node, done); in Yield()
74 pg_->CreateIterResultObject(node, value, done); in Yield()