Index: src/regexp/mips/regexp-macro-assembler-mips.cc |
diff --git a/src/regexp/mips/regexp-macro-assembler-mips.cc b/src/regexp/mips/regexp-macro-assembler-mips.cc |
index 6197f4545244dcccf180704daabff219b69eed7e..062d6618e9849600b3fbaf79fbfbcd1970036bfc 100644 |
--- a/src/regexp/mips/regexp-macro-assembler-mips.cc |
+++ b/src/regexp/mips/regexp-macro-assembler-mips.cc |
@@ -905,7 +905,8 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) { |
masm_->GetCode(&code_desc); |
Handle<Code> code = isolate()->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); |
- LOG(masm_->isolate(), RegExpCodeCreateEvent(*code, *source)); |
+ LOG(masm_->isolate(), |
+ RegExpCodeCreateEvent(AbstractCode::cast(*code), *source)); |
return Handle<HeapObject>::cast(code); |
} |