mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
parent
b5bcbfe58c
commit
67b8cd621a
12 changed files with 94 additions and 0 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include "jit/RangeAnalysis.h"
|
||||
#include "jit/SharedICHelpers.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
#include "vm/AsyncIteration.h"
|
||||
#include "vm/MatchPairs.h"
|
||||
#include "vm/RegExpObject.h"
|
||||
#include "vm/RegExpStatics.h"
|
||||
|
|
@ -10213,6 +10214,17 @@ CodeGenerator::visitToAsync(LToAsync* lir)
|
|||
callVM(ToAsyncInfo, lir);
|
||||
}
|
||||
|
||||
typedef JSObject* (*ToAsyncGenFn)(JSContext*, HandleFunction);
|
||||
static const VMFunction ToAsyncGenInfo =
|
||||
FunctionInfo<ToAsyncGenFn>(js::WrapAsyncGenerator, "ToAsyncGen");
|
||||
|
||||
void
|
||||
CodeGenerator::visitToAsyncGen(LToAsyncGen* lir)
|
||||
{
|
||||
pushArg(ToRegister(lir->unwrapped()));
|
||||
callVM(ToAsyncGenInfo, lir);
|
||||
}
|
||||
|
||||
typedef bool (*ToIdFn)(JSContext*, HandleScript, jsbytecode*, HandleValue,
|
||||
MutableHandleValue);
|
||||
static const VMFunction ToIdInfo = FunctionInfo<ToIdFn>(ToIdOperation, "ToIdOperation");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue