Changeset 271449 in webkit


Ignore:
Timestamp:
Jan 13, 2021 12:16:23 PM (3 years ago)
Author:
commit-queue@webkit.org
Message:

[JSC] Remove the unused compilation byproducts from the wasm embedder entrypoint
https://bugs.webkit.org/show_bug.cgi?id=220587

Patch by Xan Lopez <Xan Lopez> on 2021-01-13
Reviewed by Yusuke Suzuki.

This is just passed around uninitialized, remove it.

  • wasm/WasmB3IRGenerator.h:
  • wasm/WasmBBQPlan.cpp:

(JSC::Wasm::BBQPlan::didCompleteCompilation):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r271432 r271449  
     12021-01-13  Xan Lopez  <xan@igalia.com>
     2
     3        [JSC] Remove the unused compilation byproducts from the wasm embedder entrypoint
     4        https://bugs.webkit.org/show_bug.cgi?id=220587
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        This is just passed around uninitialized, remove it.
     9
     10        * wasm/WasmB3IRGenerator.h:
     11        * wasm/WasmBBQPlan.cpp:
     12        (JSC::Wasm::BBQPlan::didCompleteCompilation):
     13
    1142021-01-12  Ross Kirsling  <ross.kirsling@sony.com>
    215
  • trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.h

    r253140 r271449  
    4747struct CompilationContext {
    4848    std::unique_ptr<CCallHelpers> embedderEntrypointJIT;
    49     std::unique_ptr<B3::OpaqueByproducts> embedderEntrypointByproducts;
    5049    std::unique_ptr<CCallHelpers> wasmEntrypointJIT;
    5150    std::unique_ptr<B3::OpaqueByproducts> wasmEntrypointByproducts;
  • trunk/Source/JavaScriptCore/wasm/WasmBBQPlan.cpp

    r261755 r271449  
    241241            embedderToWasmInternalFunction->entrypoint.compilation = makeUnique<B3::Compilation>(
    242242                FINALIZE_CODE(linkBuffer, B3CompilationPtrTag, "Embedder->WebAssembly entrypoint[%i] %s name %s", functionIndex, signature.toString().ascii().data(), makeString(IndexOrName(functionIndexSpace, m_moduleInformation->nameSection->get(functionIndexSpace))).ascii().data()),
    243                 WTFMove(context.embedderEntrypointByproducts));
     243                nullptr);
    244244        }
    245245    }
Note: See TracChangeset for help on using the changeset viewer.