| Index: src/runtime/runtime-wasm.cc
|
| diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc
|
| index 0662f3d7089727692975499aa7da068694ec166f..84bb819a3974679060a9ba91d90f7c319baf4a09 100644
|
| --- a/src/runtime/runtime-wasm.cc
|
| +++ b/src/runtime/runtime-wasm.cc
|
| @@ -32,10 +32,8 @@ RUNTIME_FUNCTION(Runtime_WasmGrowMemory) {
|
| Memory::Address_at(entry + StandardFrameConstants::kCallerPCOffset);
|
| Code* code =
|
| isolate->inner_pointer_to_code_cache()->GetCacheEntry(pc)->code;
|
| - Object* undefined = *isolate->factory()->undefined_value();
|
| - Object* owning_instance = wasm::GetOwningWasmInstance(undefined, code);
|
| + Object* owning_instance = wasm::GetOwningWasmInstance(code);
|
| CHECK_NOT_NULL(owning_instance);
|
| - CHECK_NE(owning_instance, undefined);
|
| module_instance = handle(JSObject::cast(owning_instance), isolate);
|
| }
|
|
|
|
|