Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index cb7fdd8ff6c4ec592b4b75f9a0ee5f76a2ed515f..5df5893f8a906c583452fad1252eecce8f7b857d 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -82,14 +82,11 @@ TickSample* ProfilerEventsProcessor::TickSampleEvent() { |
bool ProfilerEventsProcessor::FilterOutCodeCreateEvent( |
Logger::LogEventsAndTags tag) { |
- // In browser mode, leave only callbacks and non-native JS entries. |
- // We filter out regular expressions as currently we can't tell |
- // whether they origin from native scripts, so let's not confise people by |
- // showing them weird regexes they didn't wrote. |
return FLAG_prof_browser_mode |
&& (tag != Logger::CALLBACK_TAG |
&& tag != Logger::FUNCTION_TAG |
&& tag != Logger::LAZY_COMPILE_TAG |
+ && tag != Logger::REG_EXP_TAG |
&& tag != Logger::SCRIPT_TAG); |
} |