From e31f0a7d25668d3c1531294d2ef44a9f3bde4ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 16 Aug 2019 11:32:46 +0200 Subject: deps: update V8 to 7.7.299.4 PR-URL: https://github.com/nodejs/node/pull/28918 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis Reviewed-By: Jiawen Geng Reviewed-By: Rich Trott --- deps/v8/test/mjsunit/hash-code.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deps/v8/test/mjsunit/hash-code.js') diff --git a/deps/v8/test/mjsunit/hash-code.js b/deps/v8/test/mjsunit/hash-code.js index 1a0057ff38..7937d7c5e3 100644 --- a/deps/v8/test/mjsunit/hash-code.js +++ b/deps/v8/test/mjsunit/hash-code.js @@ -5,7 +5,7 @@ // Flags: --allow-natives-syntax function f() { - var x = { a: 1 } + var x = {a: 1}; var set = new Set(); set.add(x); @@ -17,8 +17,8 @@ function f() { x.g = 6; assertTrue(set.has(x)); -} - +}; +%PrepareFunctionForOptimization(f); f(); f(); %OptimizeFunctionOnNextCall(f); -- cgit v1.2.1