Ignore:
Timestamp:
Oct 26, 2016, 4:57:13 PM (9 years ago)
Author:
[email protected]
Message:

WebAssembly: remove now-dead JSWasmModule
https://bugs.webkit.org/show_bug.cgi?id=164044

Reviewed by Keith Miller.

  • CMakeLists.txt:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • runtime/Executable.cpp:

(JSC::WebAssemblyExecutable::WebAssemblyExecutable):
(JSC::WebAssemblyExecutable::visitChildren):

  • runtime/Executable.h:
  • wasm/JSWasmModule.cpp: Removed.
  • wasm/JSWasmModule.h: Removed.
  • wasm/WasmModuleParser.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/Executable.cpp

    r207693 r207927  
    3232#include "JIT.h"
    3333#include "JSCInlines.h"
    34 #include "JSWasmModule.h"
    3534#include "LLIntEntrypoint.h"
    3635#include "Parser.h"
     
    748747const ClassInfo WebAssemblyExecutable::s_info = { "WebAssemblyExecutable", &ExecutableBase::s_info, 0, CREATE_METHOD_TABLE(WebAssemblyExecutable) };
    749748
    750 WebAssemblyExecutable::WebAssemblyExecutable(VM& vm, const SourceCode& source, JSWasmModule* module, unsigned functionIndex)
     749WebAssemblyExecutable::WebAssemblyExecutable(VM& vm, const SourceCode& source, unsigned functionIndex)
    751750    : ExecutableBase(vm, vm.webAssemblyExecutableStructure.get(), NUM_PARAMETERS_NOT_COMPILED, NoIntrinsic)
    752751    , m_source(source)
    753     , m_module(vm, this, module)
    754752    , m_functionIndex(functionIndex)
    755753{
     
    769767    if (thisObject->m_codeBlockForCall)
    770768        thisObject->m_codeBlockForCall->visitWeakly(visitor);
    771     visitor.append(&thisObject->m_module);
    772769}
    773770#endif
Note: See TracChangeset for help on using the changeset viewer.