summaryrefslogtreecommitdiffstats
path: root/js/src/jit/Lowering.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-14 09:13:04 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:27 -0500
commitbbd1fef7840d97801307f9ace021b52d94c5f61f (patch)
tree129d13b0e9b84264e1ceb2e4bf1e8d096abfc0e0 /js/src/jit/Lowering.cpp
parent8e2f6a75990b2eb0df4c5e5af46162b8b1013a04 (diff)
downloadUXP-bbd1fef7840d97801307f9ace021b52d94c5f61f.tar
UXP-bbd1fef7840d97801307f9ace021b52d94c5f61f.tar.gz
UXP-bbd1fef7840d97801307f9ace021b52d94c5f61f.tar.lz
UXP-bbd1fef7840d97801307f9ace021b52d94c5f61f.tar.xz
UXP-bbd1fef7840d97801307f9ace021b52d94c5f61f.zip
Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT.
Tag #1287
Diffstat (limited to 'js/src/jit/Lowering.cpp')
-rw-r--r--js/src/jit/Lowering.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit/Lowering.cpp b/js/src/jit/Lowering.cpp
index 22f1d5f70..ee59b8ae6 100644
--- a/js/src/jit/Lowering.cpp
+++ b/js/src/jit/Lowering.cpp
@@ -1176,6 +1176,14 @@ LIRGenerator::visitToAsync(MToAsync* ins)
}
void
+LIRGenerator::visitToAsyncGen(MToAsyncGen* ins)
+{
+ LToAsyncGen* lir = new(alloc()) LToAsyncGen(useRegisterAtStart(ins->input()));
+ defineReturn(lir, ins);
+ assignSafepoint(lir, ins);
+}
+
+void
LIRGenerator::visitToId(MToId* ins)
{
LToIdV* lir = new(alloc()) LToIdV(useBox(ins->input()), tempDouble());