mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #1240 - Part 5e - BigInt bitwise operators. https://bugzilla.mozilla.org/show_bug.cgi?id=1490387
This commit is contained in:
parent
20b52c9e2e
commit
03734326e8
8 changed files with 197 additions and 130 deletions
|
|
@ -10306,7 +10306,7 @@ CodeGenerator::visitThrow(LThrow* lir)
|
|||
callVM(ThrowInfoCodeGen, lir);
|
||||
}
|
||||
|
||||
typedef bool (*BitNotFn)(JSContext*, HandleValue, int* p);
|
||||
typedef bool (*BitNotFn)(JSContext*, MutableHandleValue, MutableHandleValue);
|
||||
static const VMFunction BitNotInfo = FunctionInfo<BitNotFn>(BitNot, "BitNot");
|
||||
|
||||
void
|
||||
|
|
@ -10316,7 +10316,7 @@ CodeGenerator::visitBitNotV(LBitNotV* lir)
|
|||
callVM(BitNotInfo, lir);
|
||||
}
|
||||
|
||||
typedef bool (*BitopFn)(JSContext*, HandleValue, HandleValue, int* p);
|
||||
typedef bool (*BitopFn)(JSContext*, MutableHandleValue, MutableHandleValue, MutableHandleValue);
|
||||
static const VMFunction BitAndInfo = FunctionInfo<BitopFn>(BitAnd, "BitAnd");
|
||||
static const VMFunction BitOrInfo = FunctionInfo<BitopFn>(BitOr, "BitOr");
|
||||
static const VMFunction BitXorInfo = FunctionInfo<BitopFn>(BitXor, "BitXor");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue