| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index ff80f953eb1ffd9737fc5af809d5b89c394cb1e4..3844893f98a620dc966b8961e242707fe4292e52 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2294,15 +2294,13 @@
|
| DCHECK(module_ && module_->instance);
|
| if (offset == 0) {
|
| if (!mem_buffer_) {
|
| - mem_buffer_ = jsgraph()->RelocatableIntPtrConstant(
|
| - reinterpret_cast<uintptr_t>(module_->instance->mem_start),
|
| - RelocInfo::WASM_MEMORY_REFERENCE);
|
| + mem_buffer_ = jsgraph()->IntPtrConstant(
|
| + reinterpret_cast<uintptr_t>(module_->instance->mem_start));
|
| }
|
| return mem_buffer_;
|
| } else {
|
| - return jsgraph()->RelocatableIntPtrConstant(
|
| - reinterpret_cast<uintptr_t>(module_->instance->mem_start + offset),
|
| - RelocInfo::WASM_MEMORY_REFERENCE);
|
| + return jsgraph()->IntPtrConstant(
|
| + reinterpret_cast<uintptr_t>(module_->instance->mem_start + offset));
|
| }
|
| }
|
|
|
|
|