Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 803281e24da36ac413be3687ce35a9d144c3d3d4..bfe97af4337552511cd5c5151e6bb0f114b90708 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -81,7 +81,8 @@ Handle<Code> PropertyHandlerCompiler::GetCode(Code::Kind kind, |
Handle<Name> name) { |
Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder()); |
Handle<Code> code = GetCodeWithFlags(flags, name); |
- PROFILE(isolate(), CodeCreateEvent(Logger::HANDLER_TAG, *code, *name)); |
+ PROFILE(isolate(), CodeCreateEvent(Logger::HANDLER_TAG, |
+ AbstractCode::cast(*code), *name)); |
#ifdef DEBUG |
code->VerifyEmbeddedObjects(); |
#endif |