Index: src/regexp-macro-assembler-ia32.cc |
diff --git a/src/regexp-macro-assembler-ia32.cc b/src/regexp-macro-assembler-ia32.cc |
index 02f445edce21b2c16077ed06829a502a0ef19a7a..c2f76b4ded20c6bc197ead501d3d071a4709248d 100644 |
--- a/src/regexp-macro-assembler-ia32.cc |
+++ b/src/regexp-macro-assembler-ia32.cc |
@@ -825,7 +825,7 @@ Handle<Object> RegExpMacroAssemblerIA32::GetCode(Handle<String> source) { |
NULL, |
Code::ComputeFlags(Code::REGEXP), |
masm_->CodeObject()); |
- LOG(CodeCreateEvent("RegExp", *code, *(source->ToCString()))); |
+ LOG(RegExpCodeCreateEvent(*code, *source)); |
return Handle<Object>::cast(code); |
} |