Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 8fed3c550e59e5bf11adacc196c2583ceb0a92cf..d5964a20a365fdfff13577ce3d5677ea592374a5 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -1989,8 +1989,8 @@ static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
Handle<Code> code = info->code(); |
Handle<SharedFunctionInfo> shared = |
isolate->factory()->NewSharedFunctionInfo(name_str, code, false); |
- PROFILE(isolate, |
- CodeCreateEvent(tag, *code, *shared, info, *script_str, 0, 0)); |
+ PROFILE(isolate, CodeCreateEvent(tag, AbstractCode::cast(*code), *shared, |
+ info, *script_str, 0, 0)); |
} |
} |