summaryrefslogtreecommitdiff
path: root/js/src/jit/CodeGenerator.cpp
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-09-17 06:21:49 -0500
committerBrian Smith <brian@dbsoft.org>2023-09-17 06:21:49 -0500
commit8f26f1a87321c47622bdeac2f610d31c33970b7e (patch)
treeabe0671ab068092e2d69fe8e79b8939b8ebfc68b /js/src/jit/CodeGenerator.cpp
parent53ce8148585f74b2a4f9d9d3995e4a02e215e22b (diff)
downloaduxp-8f26f1a87321c47622bdeac2f610d31c33970b7e.tar.gz
Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Ion on Intel32/64.
Diffstat (limited to 'js/src/jit/CodeGenerator.cpp')
-rw-r--r--js/src/jit/CodeGenerator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit/CodeGenerator.cpp b/js/src/jit/CodeGenerator.cpp
index 0459592448..5c2d9ac4e7 100644
--- a/js/src/jit/CodeGenerator.cpp
+++ b/js/src/jit/CodeGenerator.cpp
@@ -2378,6 +2378,8 @@ CodeGenerator::visitUnarySharedStub(LUnarySharedStub* lir)
switch (jsop) {
case JSOP_BITNOT:
case JSOP_NEG:
+ case JSOP_INC:
+ case JSOP_DEC:
emitSharedStub(ICStub::Kind::UnaryArith_Fallback, lir);
break;
case JSOP_CALLPROP: