diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-12-14 09:13:04 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-12-17 06:25:27 -0500 |
commit | bbd1fef7840d97801307f9ace021b52d94c5f61f (patch) | |
tree | 129d13b0e9b84264e1ceb2e4bf1e8d096abfc0e0 /js/src/jit/MIR.h | |
parent | 8e2f6a75990b2eb0df4c5e5af46162b8b1013a04 (diff) | |
download | UXP-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/MIR.h')
-rw-r--r-- | js/src/jit/MIR.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h index 6c376d528..637c09cfd 100644 --- a/js/src/jit/MIR.h +++ b/js/src/jit/MIR.h @@ -5784,6 +5784,21 @@ class MToAsync TRIVIAL_NEW_WRAPPERS }; +class MToAsyncGen + : public MUnaryInstruction, + public SingleObjectPolicy::Data +{ + explicit MToAsyncGen(MDefinition* unwrapped) + : MUnaryInstruction(unwrapped) + { + setResultType(MIRType::Object); + } + + public: + INSTRUCTION_HEADER(ToAsyncGen) + TRIVIAL_NEW_WRAPPERS +}; + class MToId : public MUnaryInstruction, public BoxInputsPolicy::Data |