Lines Matching defs:abruptCompletion
88 const JSHandle<CompletionRecord> &abruptCompletion)
106 // a.If abruptCompletion.[[Type]] is return, then
107 // i.Return CreateIterResultObject(abruptCompletion.[[Value]], true).
108 // b.Return Completion(abruptCompletion).
110 JSHandle<JSTaggedValue> valueHandle(thread, abruptCompletion->GetValue());
112 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) {
131 // 10.Resume the suspended evaluation of genContext using abruptCompletion as the result of the operation that
137 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) {
138 result = GeneratorHelper::Return(thread, genContext, abruptCompletion->GetValue());
140 result = GeneratorHelper::Throw(thread, genContext, abruptCompletion->GetValue());