Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index b3cb3bc4c0313f9ffe7796cb8da7c5f497c980da..2aba0657393f17fc54f51efadd2d206eb50834d9 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1499,8 +1499,6 @@ DEFINE_RUNTIME_ENTRY(OptimizeInvokedFunction, 1) { |
BackgroundCompiler::EnsureInit(thread); |
ASSERT(isolate->background_compiler() != NULL); |
isolate->background_compiler()->CompileOptimized(function); |
- // Install all generated optimized code in the mutator thread (this one). |
- isolate->background_compiler()->InstallGeneratedCode(); |
// Continue in the same code. |
arguments.SetReturn(Code::Handle(zone, function.CurrentCode())); |
return; |