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
commitc43b1d537d32006a81b3d646037b039f22101653 (patch)
tree0e6969d3b3eecdff2081dcda6dbbe58659aef2ac
parent226b28698737e613859eba3558ccd2b9012238c7 (diff)
downloaduxp-c43b1d537d32006a81b3d646037b039f22101653.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];