Ignore:
Timestamp:
Dec 28, 2016, 4:18:44 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed. Fix jsc.cpp build error.

  • jsc.cpp:

(functionTestWasmModuleFunctions):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r210201 r210202  
    26492649    }
    26502650
    2651     void* memoryBytes = nullptr;
    2652     uint32_t memorySize = 0;
    2653     std::unique_ptr<Wasm::Memory> memory;
    26542651    std::unique_ptr<Wasm::ModuleInformation> moduleInformation = plan.takeModuleInformation();
    2655 
    2656     if (!!moduleInformation->memory) {
    2657         bool failed;
    2658         memory = std::make_unique<Wasm::Memory>(moduleInformation->memory.initial(), moduleInformation->memory.maximum(), failed);
    2659         RELEASE_ASSERT(!failed);
    2660         memoryBytes = memory->memory();
    2661         memorySize = memory->size();
    2662     }
    2663     vm.topWasmMemoryPointer = memoryBytes;
    2664     vm.topWasmMemorySize = memorySize;
     2652    RELEASE_ASSERT(!moduleInformation->memory);
    26652653
    26662654    for (uint32_t i = 0; i < functionCount; ++i) {
Note: See TracChangeset for help on using the changeset viewer.