From f7f6c928c1c9c136b7926f892b8a2fda11d8b4b2 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 24 Sep 2019 11:56:38 -0400 Subject: deps: update V8 to 7.8.279.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/29694 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Gus Caplan Reviewed-By: Jiawen Geng Reviewed-By: Michaël Zasso Reviewed-By: Tobias Nießen Reviewed-By: Ujjwal Sharma --- deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc') diff --git a/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc b/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc index 95c03e543f..fb5254903d 100644 --- a/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc +++ b/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc @@ -172,7 +172,8 @@ TEST_F(JSCreateLoweringTest, JSCreateFunctionContextViaInlinedAllocation) { // JSCreateWithContext TEST_F(JSCreateLoweringTest, JSCreateWithContext) { - Handle scope_info = ScopeInfo::CreateForEmptyFunction(isolate()); + Handle scope_info = + ReadOnlyRoots(isolate()).empty_function_scope_info_handle(); Node* const object = Parameter(Type::Receiver()); Node* const context = Parameter(Type::Any()); Node* const effect = graph()->start(); @@ -192,7 +193,8 @@ TEST_F(JSCreateLoweringTest, JSCreateWithContext) { // JSCreateCatchContext TEST_F(JSCreateLoweringTest, JSCreateCatchContext) { - Handle scope_info = ScopeInfo::CreateForEmptyFunction(isolate()); + Handle scope_info = + ReadOnlyRoots(isolate()).empty_function_scope_info_handle(); Node* const exception = Parameter(Type::Receiver()); Node* const context = Parameter(Type::Any()); Node* const effect = graph()->start(); -- cgit v1.2.1