From bbd1fef7840d97801307f9ace021b52d94c5f61f Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sat, 14 Dec 2019 09:13:04 -0500 Subject: Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT. Tag #1287 --- js/src/jit/shared/LIR-shared.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'js/src/jit/shared/LIR-shared.h') diff --git a/js/src/jit/shared/LIR-shared.h b/js/src/jit/shared/LIR-shared.h index ecf02816e..6c8ff899b 100644 --- a/js/src/jit/shared/LIR-shared.h +++ b/js/src/jit/shared/LIR-shared.h @@ -1606,6 +1606,19 @@ class LToAsync : public LCallInstructionHelper<1, 1, 0> } }; +class LToAsyncGen : public LCallInstructionHelper<1, 1, 0> +{ + public: + LIR_HEADER(ToAsyncGen) + explicit LToAsyncGen(const LAllocation& input) { + setOperand(0, input); + } + + const LAllocation* unwrapped() { + return getOperand(0); + } +}; + class LToIdV : public LInstructionHelper { public: -- cgit v1.2.3