Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 0f3ebe0e6726666acba53cb8745366e992aed288..fbe885fe1c948dfb0c6504052a8b01f3d405f349 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1443,11 +1443,6 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfo( |
// first time. It may have already been compiled previously. |
result->set_never_compiled(outer_info->is_first_compile() && lazy); |
- if (literal->scope()->new_target_var() != nullptr) { |
- Handle<Code> stub(isolate->builtins()->JSConstructStubNewTarget()); |
- result->set_construct_stub(*stub); |
- } |
- |
RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result); |
result->set_allows_lazy_compilation(literal->AllowsLazyCompilation()); |
result->set_allows_lazy_compilation_without_context(allow_lazy_without_ctx); |