| Index: src/wasm/wasm-interpreter.cc
|
| diff --git a/src/wasm/wasm-interpreter.cc b/src/wasm/wasm-interpreter.cc
|
| index 8064bf2765c71c483c743092aa638fb4075e58ee..530ab67d99af4a3651225e001f5faa6406d7afbd 100644
|
| --- a/src/wasm/wasm-interpreter.cc
|
| +++ b/src/wasm/wasm-interpreter.cc
|
| @@ -668,7 +668,6 @@ static inline int32_t ExecuteGrowMemory(uint32_t delta_pages,
|
| if (delta_pages > wasm::WasmModule::kMaxMemPages) {
|
| return -1;
|
| }
|
| - // TODO(gdeepti): Fix bounds check to take into account size of memtype.
|
| new_size = delta_pages * wasm::WasmModule::kPageSize;
|
| new_mem_start = static_cast<byte*>(calloc(new_size, sizeof(byte)));
|
| if (!new_mem_start) {
|
|
|