Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 7c12dd5bc1ef3dcb028dd108353afa1eedff9a8d..b908ae81f7a2cf88cf9c2488f141758859ab79d0 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -54,8 +54,6 @@ void JSInliner::Inline() { |
// test cases, where similar code is currently duplicated). |
static void Parse(Handle<JSFunction> function, CompilationInfoWithZone* info) { |
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)); |