Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 55874bf414b06f67115588236d9640eaba7168c6..a0f29c85089aaf8ac292facdb736e2bd6e2c213d 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -1982,8 +1982,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)); |
} |
} |