Index: src/regexp/ia32/regexp-macro-assembler-ia32.cc |
diff --git a/src/regexp/ia32/regexp-macro-assembler-ia32.cc b/src/regexp/ia32/regexp-macro-assembler-ia32.cc |
index 4c22b43f772d2c200e7fc641c42b822b25bc96e9..5191a290a4dfb154f24f61112300058109749a79 100644 |
--- a/src/regexp/ia32/regexp-macro-assembler-ia32.cc |
+++ b/src/regexp/ia32/regexp-macro-assembler-ia32.cc |
@@ -936,7 +936,8 @@ Handle<HeapObject> RegExpMacroAssemblerIA32::GetCode(Handle<String> source) { |
isolate()->factory()->NewCode(code_desc, |
Code::ComputeFlags(Code::REGEXP), |
masm_->CodeObject()); |
- PROFILE(isolate(), RegExpCodeCreateEvent(*code, *source)); |
+ PROFILE(masm_->isolate(), |
+ RegExpCodeCreateEvent(AbstractCode::cast(*code), *source)); |
return Handle<HeapObject>::cast(code); |
} |