Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index d424a9ebfeb262592044d6712a8498e20c7d19c7..33e6ae11f9eb400f43b774a4c3c063e575aa69c6 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; |