Index: src/regexp/ppc/regexp-macro-assembler-ppc.cc |
diff --git a/src/regexp/ppc/regexp-macro-assembler-ppc.cc b/src/regexp/ppc/regexp-macro-assembler-ppc.cc |
index c05c580e8658f13329e3f695850b27fb05541346..70842f5a2cdc1348ba7267e148601d4148c13b94 100644 |
--- a/src/regexp/ppc/regexp-macro-assembler-ppc.cc |
+++ b/src/regexp/ppc/regexp-macro-assembler-ppc.cc |
@@ -940,7 +940,8 @@ Handle<HeapObject> RegExpMacroAssemblerPPC::GetCode(Handle<String> source) { |
masm_->GetCode(&code_desc); |
Handle<Code> code = isolate()->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); |
- PROFILE(masm_->isolate(), RegExpCodeCreateEvent(*code, *source)); |
+ PROFILE(masm_->isolate(), |
+ RegExpCodeCreateEvent(AbstractCode::cast(*code), *source)); |
return Handle<HeapObject>::cast(code); |
} |