Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 0fc777cb6d9aeea072b1aa4996ee2c93ce772a25..2ef46eb4cbd778009f1ae087dfcb009e0868392c 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -45,8 +45,6 @@ class FunctionTester : public InitializedHandleScope { |
CompilationInfoWithZone info(function); |
CHECK(Parser::Parse(&info)); |
- StrictMode strict_mode = info.function()->strict_mode(); |
- info.SetStrictMode(strict_mode); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
if (flags_ & CompilationInfo::kContextSpecializing) { |
info.MarkAsContextSpecializing(); |