Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 1c06fdeeba18e8a9f6f26232f11bf6dbaa9d76fa..9ba7b8f13c955f72923f3c02958056b53de8e971 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -204,8 +204,8 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
if (isolate->logger()->is_logging_code_events() || |
isolate->cpu_profiler()->is_profiling()) { |
- isolate->logger()->LogExistingFunction(source_shared, |
- Handle<Code>(source_shared->code())); |
+ isolate->logger()->LogExistingFunction( |
+ source_shared, Handle<AbstractCode>(source_shared->abstract_code())); |
} |
return *target; |