diff options
author | Brian Smith <brian@dbsoft.org> | 2023-09-22 13:23:36 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2023-09-22 13:23:36 -0500 |
commit | 6aeae2ba7401cc0aaebee6a8fc7aaa8d681b818d (patch) | |
tree | be26184f3873dd9f5f08e98b91be9e0e12a3426e /js/src/jit/CodeGenerator.cpp | |
parent | 5fd783135d2949d1ff83d7ca503acdabb6b535b7 (diff) | |
download | uxp-6aeae2ba7401cc0aaebee6a8fc7aaa8d681b818d.tar.gz |
Issue #2313 - Implement WebAssembly sign extension opcodes.
https://bugzilla.mozilla.org/show_bug.cgi?id=1389461
Diffstat (limited to 'js/src/jit/CodeGenerator.cpp')
-rw-r--r-- | js/src/jit/CodeGenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jit/CodeGenerator.cpp b/js/src/jit/CodeGenerator.cpp index 0c28e978c4..b2ef808636 100644 --- a/js/src/jit/CodeGenerator.cpp +++ b/js/src/jit/CodeGenerator.cpp @@ -12117,16 +12117,16 @@ CodeGenerator::visitRandom(LRandom* ins) } void -CodeGenerator::visitSignExtend(LSignExtend* ins) +CodeGenerator::visitSignExtendInt32(LSignExtendInt32* ins) { Register input = ToRegister(ins->input()); Register output = ToRegister(ins->output()); switch (ins->mode()) { - case MSignExtend::Byte: + case MSignExtendInt32::Byte: masm.move8SignExtend(input, output); break; - case MSignExtend::Half: + case MSignExtendInt32::Half: masm.move16SignExtend(input, output); break; } |