We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8840421 commit b59745cCopy full SHA for b59745c
js/src/jit/CacheIR.cpp
@@ -38,6 +38,12 @@ const char* const js::jit::CacheKindNames[] = {
38
#undef DEFINE_KIND
39
};
40
41
+const char* const js::jit::CacheIrOpNames[] = {
42
+#define OPNAME(op, ...) #op,
43
+ CACHE_IR_OPS(OPNAME)
44
+#undef OPNAME
45
+};
46
+
47
48
49
js/src/jit/CacheIR.h
@@ -205,11 +205,7 @@ enum class CacheOp {
205
#undef DEFINE_OP
206
207
208
-const char* const CacheIrOpNames[] = {
209
-#define OPNAME(op, ...) #op,
210
- CACHE_IR_OPS(OPNAME)
211
-#undef OPNAME
212
-};
+extern const char* const CacheIrOpNames[];
213
214
class StubField {
215
public:
0 commit comments