summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-14 08:34:36 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-14 08:34:36 +0000
commit4f06d20f8ad2fc6cfb058f8614591b9f60efa799 (patch)
tree0e6969d3b3eecdff2081dcda6dbbe58659aef2ac
parentfc65e1f2fa4239c6271d666b3366cdf7cf440580 (diff)
downloaduxp-4f06d20f8ad2fc6cfb058f8614591b9f60efa799.tar.gz
[js] Add XMMRegName for invalid_xmm
-rw-r--r--js/src/jit/x86-shared/Constants-x86-shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/jit/x86-shared/Constants-x86-shared.h b/js/src/jit/x86-shared/Constants-x86-shared.h
index e5f1d7cd81..0874baf72e 100644
--- a/js/src/jit/x86-shared/Constants-x86-shared.h
+++ b/js/src/jit/x86-shared/Constants-x86-shared.h
@@ -47,6 +47,7 @@ inline const char* XMMRegName(XMMRegisterID reg)
#ifdef JS_CODEGEN_X64
,"%xmm8", "%xmm9", "%xmm10", "%xmm11", "%xmm12", "%xmm13", "%xmm14", "%xmm15"
#endif
+ ,"invalid"
};
MOZ_ASSERT(size_t(reg) < mozilla::ArrayLength(names));
return names[reg];