Closed Bug 1482253 Opened 5 years ago Closed 5 years ago
IR Op metadata
In a similar manner to how the JS Opcodes have metadata, it would be useful to provide metadata on CacheIR ops. At minimum, the length would be incredibly useful to have. However I can also imagine use for information like whether or not the operand has a stub field or not. It would simplify writing CacheIR parsing code like this , where the length is 'expected' but there's no way to assert or ensure this remains true outside of auditing. : https://searchfox.org/mozilla-central/rev/aff5d4ad5d7fb2919d267cbc23b1d87ae3cf0110/js/src/jit/BaselineInspector.cpp#322-349
Oh-- other data you could collect: - Does the op fill in the result register - If so, what type?
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.