i.e. x / 0 or intMin / -1
<rdar://problem/29760386>
Created attachment 297712 [details] Patch
Created attachment 297713 [details] Patch
This patch modifies one of the wasm.json files. Please ensure that any changes in one have been mirrored to the other. You can find the wasm.json files at "Source/JavaScriptCore/wasm/wasm.json" and "JSTests/wasm/wasm.json".
Comment on attachment 297713 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297713&action=review > Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:1017 > + m_currentBlock->appendNew<Value>(m_proc, BitOr, Origin(), Should be BitAnd here.
Created attachment 297717 [details] Patch
Comment on attachment 297717 [details] Patch r=me
Committed r210137: <http://trac.webkit.org/changeset/210137>
Comment on attachment 297717 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297717&action=review > Source/JavaScriptCore/wasm/WasmPlan.cpp:197 > + uint32_t threadCount = Options::useConcurrentJIT() ? WTF::numberOfProcessorCores() : 1; Nit: it might be worth just adding an option for this.
Comment on attachment 297717 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297717&action=review > Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:1001 > + const B3::Type type = left->type(); Nit: might be worth asserting its Int32 or Int64