Changeset 209891 in webkit
- Timestamp:
- Dec 15, 2016 5:06:02 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r209880 r209891 1 2016-12-15 Keith Miller <keith_miller@apple.com> 2 3 Wasm should not create empty unlinked callsites 4 https://bugs.webkit.org/show_bug.cgi?id=165933 5 6 Reviewed by Mark Lam. 7 8 * wasm/function-tests/dead-call.js: Added. 9 1 10 2016-12-15 JF Bastien <jfbastien@apple.com> 2 11 -
trunk/Source/JavaScriptCore/ChangeLog
r209880 r209891 1 2016-12-15 Keith Miller <keith_miller@apple.com> 2 3 Wasm should not create empty unlinked callsites 4 https://bugs.webkit.org/show_bug.cgi?id=165933 5 6 Reviewed by Mark Lam. 7 8 Wasm would create holes in the unlinked callsite vector if B3 was able to 9 eliminate the callsite. 10 11 * wasm/WasmB3IRGenerator.cpp: 12 (JSC::Wasm::B3IRGenerator::addCall): 13 1 14 2016-12-15 JF Bastien <jfbastien@apple.com> 2 15 -
trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp
r209880 r209891 701 701 Type returnType = signature->returnType; 702 702 703 size_t callIndex = m_unlinkedWasmToWasmCalls.size();704 m_unlinkedWasmToWasmCalls.grow(callIndex + 1);705 703 result = wasmCallingConvention().setupCall(m_proc, m_currentBlock, Origin(), args, toB3Type(returnType), 706 704 [&] (PatchpointValue* patchpoint) { … … 714 712 715 713 jit.addLinkTask([=] (LinkBuffer& linkBuffer) { 716 m_unlinkedWasmToWasmCalls [callIndex] = { linkBuffer.locationOf(call), functionIndex };714 m_unlinkedWasmToWasmCalls.append({ linkBuffer.locationOf(call), functionIndex }); 717 715 }); 718 716 });
Note: See TracChangeset
for help on using the changeset viewer.