| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index f42d8b9fca2287bd4d920c507fbfb23a69c87988..205a85eb9f3fd18e657e7790c6b58b0958416f94 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -891,16 +891,6 @@ MaybeHandle<Code> GetLazyCode(Handle<JSFunction> function) {
|
| 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() &&
|
| @@ -1131,7 +1121,6 @@ bool Compiler::ParseAndAnalyze(ParseInfo* info) {
|
|
|
| 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)) {
|
|
|