Index: src/regexp/x87/regexp-macro-assembler-x87.cc |
diff --git a/src/regexp/x87/regexp-macro-assembler-x87.cc b/src/regexp/x87/regexp-macro-assembler-x87.cc |
index 6e6209282feae903d21a05ec170c1701e0191486..3d18465ad7eb09c5487883391061566689df1a7e 100644 |
--- a/src/regexp/x87/regexp-macro-assembler-x87.cc |
+++ b/src/regexp/x87/regexp-macro-assembler-x87.cc |
@@ -935,7 +935,8 @@ Handle<HeapObject> RegExpMacroAssemblerX87::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); |
} |