Found by Coverity scan: webkitgtk-2.14.5/Source/JavaScriptCore/offlineasm/risc.rb:378: unused_expr: Discarding the result of operator "==" in "node.operands().size() == 2". What was this code intended to accomplish? webkitgtk-2.14.5/Source/JavaScriptCore/offlineasm/risc.rb:378: remediation: Did you intend to make an assertion or assignment? # 376| (not validImmediates.include? node.operands[0].value) and # 377| validImmediates.include? -node.operands[0].value # 378|-> node.operands.size == 2 # 379| if node.opcode =~ /add/ # 380| newOpcode = "sub" + $~.post_match
Created attachment 304371 [details] Patch
Comment on attachment 304371 [details] Patch r=me
Comment on attachment 304371 [details] Patch Clearing flags on attachment: 304371 Committed r213973: <http://trac.webkit.org/changeset/213973>
All reviewed patches have been landed. Closing bug.