Index: src/asmjs/asm-js.cc |
diff --git a/src/asmjs/asm-js.cc b/src/asmjs/asm-js.cc |
index 9508b489545a408c2c2ae1738f6ba99b56248e2c..02e71487a54566c404a3c87303e532df7c64cf4c 100644 |
--- a/src/asmjs/asm-js.cc |
+++ b/src/asmjs/asm-js.cc |
@@ -254,8 +254,8 @@ MaybeHandle<Object> AsmJs::InstantiateAsmWasm(i::Isolate* isolate, |
Handle<JSReceiver> foreign) { |
base::ElapsedTimer instantiate_timer; |
instantiate_timer.Start(); |
- i::Handle<i::JSObject> module( |
- i::JSObject::cast(wasm_data->get(kWasmDataCompiledModule))); |
+ i::Handle<i::WasmModuleObject> module( |
+ i::WasmModuleObject::cast(wasm_data->get(kWasmDataCompiledModule))); |
i::Handle<i::FixedArray> foreign_globals( |
i::FixedArray::cast(wasm_data->get(kWasmDataForeignGlobals))); |