Changeset 210202 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Dec 28, 2016, 4:18:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r210201 r210202 2649 2649 } 2650 2650 2651 void* memoryBytes = nullptr;2652 uint32_t memorySize = 0;2653 std::unique_ptr<Wasm::Memory> memory;2654 2651 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); 2665 2653 2666 2654 for (uint32_t i = 0; i < functionCount; ++i) {
Note:
See TracChangeset
for help on using the changeset viewer.