Index: src/regexp/x64/regexp-macro-assembler-x64.cc |
diff --git a/src/regexp/x64/regexp-macro-assembler-x64.cc b/src/regexp/x64/regexp-macro-assembler-x64.cc |
index 952034fb0c08388633f0a2110e0117676102b114..5d73b436f877ae4088037a257f880e721a21ad91 100644 |
--- a/src/regexp/x64/regexp-macro-assembler-x64.cc |
+++ b/src/regexp/x64/regexp-macro-assembler-x64.cc |
@@ -1008,7 +1008,7 @@ Handle<HeapObject> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
Handle<Code> code = isolate->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), |
masm_.CodeObject()); |
- PROFILE(isolate, RegExpCodeCreateEvent(*code, *source)); |
+ PROFILE(isolate, RegExpCodeCreateEvent(AbstractCode::cast(*code), *source)); |
return Handle<HeapObject>::cast(code); |
} |