Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index c20a8af5a9fe2eb6cc4d175e4c1b98a39bb95a12..e2f016114afd23f363788013966acf6433739336 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -920,16 +920,6 @@ |
TimerEventScope<TimerEventCompileCode> compile_timer(isolate); |
TRACE_EVENT0("v8", "V8.CompileCode"); |
AggregatedHistogramTimerScope timer(isolate->counters()->compile_lazy()); |
- |
- if (FLAG_turbo_cache_shared_code) { |
- CodeAndLiterals result; |
- result = function->shared()->SearchOptimizedCodeMap( |
- *isolate->native_context(), BailoutId::None()); |
- if (result.code != nullptr) { |
- return Handle<Code>(result.code); |
- } |
- } |
- |
// If the debugger is active, do not compile with turbofan unless we can |
// deopt from turbofan code. |
if (FLAG_turbo_asm && function->shared()->asm_function() && |
@@ -1166,7 +1156,6 @@ |
bool Compiler::Compile(Handle<JSFunction> function, ClearExceptionFlag flag) { |
if (function->is_compiled()) return true; |
- |
MaybeHandle<Code> maybe_code = GetLazyCode(function); |
Handle<Code> code; |
if (!maybe_code.ToHandle(&code)) { |