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/bytecode/CodeBlock.cpp

    r191191 r191291  
    22042204
    22052205#if ENABLE(WEBASSEMBLY)
    2206 CodeBlock::CodeBlock(VM* vm, Structure* structure, WebAssemblyExecutable* ownerExecutable, VM& vm, JSGlobalObject* globalObject)
    2207     : JSCell(vm, structure)
     2206CodeBlock::CodeBlock(VM* vm, Structure* structure, WebAssemblyExecutable* ownerExecutable, JSGlobalObject* globalObject)
     2207    : JSCell(*vm, structure)
    22082208    , m_globalObject(globalObject->vm(), this, globalObject)
    22092209    , m_heap(&m_globalObject->vm().heap)
     
    22182218    , m_numBreakpoints(0)
    22192219    , m_ownerExecutable(m_globalObject->vm(), this, ownerExecutable)
    2220     , m_vm(&vm)
     2220    , m_vm(vm)
    22212221    , m_isStrictMode(false)
    22222222    , m_needsActivation(false)
Note: See TracChangeset for help on using the changeset viewer.