Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index b1eae719247486b8fcda1e26d0b4f4bb7cbe7278..66c790b7c98b2486840013fb9a2e38c16dc2a9a9 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -310,9 +310,6 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
Code::Flags flags = Code::ComputeFlags(Code::FUNCTION); |
Handle<Code> code = CodeGenerator::MakeCodeEpilogue(&masm, flags, info); |
- code->set_optimizable(info->IsOptimizable() && |
- !info->function()->dont_optimize() && |
- info->function()->scope()->AllowsLazyCompilation()); |
cgen.PopulateDeoptimizationData(code); |
cgen.PopulateTypeFeedbackInfo(code); |
code->set_has_deoptimization_support(info->HasDeoptimizationSupport()); |