summaryrefslogtreecommitdiff
path: root/js/src/jit/x86-shared/Constants-x86-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/x86-shared/Constants-x86-shared.h')
-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];