Index: src/regexp/jsregexp.cc |
diff --git a/src/regexp/jsregexp.cc b/src/regexp/jsregexp.cc |
index c0897bebcff36bf638b989460c47577048d1caaf..bd4e1fc920a85db4b49d5aeade3f0af94feea5e6 100644 |
--- a/src/regexp/jsregexp.cc |
+++ b/src/regexp/jsregexp.cc |
@@ -141,11 +141,7 @@ MaybeHandle<Object> RegExpImpl::Compile(Handle<JSRegExp> re, |
MaybeHandle<FixedArray> maybe_cached = |
compilation_cache->LookupRegExp(pattern, flags); |
Handle<FixedArray> cached; |
- bool in_cache = maybe_cached.ToHandle(&cached); |
- LOG(isolate, RegExpCompileEvent(re, in_cache)); |
- |
- Handle<Object> result; |
- if (in_cache) { |
+ if (maybe_cached.ToHandle(&cached)) { |
re->set_data(*cached); |
return re; |
} |