Ignore:
Timestamp:
Oct 19, 2015, 9:20:08 AM (10 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the ENABLE(WEBASSEMBLY) build after r190827
https://bugs.webkit.org/show_bug.cgi?id=150330

Reviewed by Geoffrey Garen.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::CodeBlock): Removed the duplicated VM argument.

  • bytecode/CodeBlock.h:

(JSC::WebAssemblyCodeBlock::create): Added new parameters to finishCreation() calls.
(JSC::WebAssemblyCodeBlock::WebAssemblyCodeBlock): Change VM parameter to pointer to match *CodeBlock classes.

  • runtime/Executable.cpp:

(JSC::WebAssemblyExecutable::prepareForExecution): Removed extra ")" and pass pointer as it is expected.

File:
1 edited

Legend:

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

    r190827 r191291  
    739739    DeferGC deferGC(vm.heap);
    740740
    741     WebAssemblyCodeBlock* codeBlock = WebAssemblyCodeBlock::create(vm,
    742         this, exec->lexicalGlobalObject()));
     741    WebAssemblyCodeBlock* codeBlock = WebAssemblyCodeBlock::create(&vm,
     742        this, exec->lexicalGlobalObject());
    743743
    744744    WASMFunctionParser::compile(vm, codeBlock, m_module.get(), m_source, m_functionIndex);
Note: See TracChangeset for help on using the changeset viewer.