It's already used in JITPropertyAcess.cpp, and it's useful because it gives a message with the difference between the actual and the expected offset in case of failure.
Created attachment 83204 [details] assertjitoffset.diff
Comment on attachment 83204 [details] assertjitoffset.diff View in context: https://bugs.webkit.org/attachment.cgi?id=83204&action=review > Source/JavaScriptCore/jit/JITPropertyAccess32_64.cpp:522 > void JIT::emitSlow_op_put_by_id(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter) > -- > 1.7.3.4 I guess this was an accident?
Comment on attachment 83204 [details] assertjitoffset.diff Excellent, thank you! - but please also change the case in JITCAll32_64.cpp, in compileOpCall.
Comment on attachment 83204 [details] assertjitoffset.diff Landed as r79247, also changing JITCall32_64.cpp
Closing.