Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index 7c5e05ab8a22ca7665429ae03b3e8e6d717a62f7..fb036a0783f73861ccd846935af13fd73c1ebce3 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -45,8 +45,6 @@ class DeoptCodegenTester { |
info(function, scope->main_zone()), |
bailout_id(-1) { |
CHECK(Parser::Parse(&info)); |
- StrictMode strict_mode = info.function()->strict_mode(); |
- info.SetStrictMode(strict_mode); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
CHECK(Rewriter::Rewrite(&info)); |
CHECK(Scope::Analyze(&info)); |