From 2cb4e78e74654e9b378145623f55793dfd92ecbe Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Mon, 17 Mar 2014 17:00:48 +0000 Subject: [PATCH] Fix mjsunit/compiler/concurrent-invalidate-transition-map.js test. BUG=v8:3156 LOG=N R=yangguo@chromium.org Review URL: https://codereview.chromium.org/180053003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20009 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- .../compiler/concurrent-invalidate-transition-map.js | 7 ++++--- test/mjsunit/mjsunit.status | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/test/mjsunit/compiler/concurrent-invalidate-transition-map.js b/test/mjsunit/compiler/concurrent-invalidate-transition-map.js index 2a20790eaa..ab7d6d50ee 100644 --- a/test/mjsunit/compiler/concurrent-invalidate-transition-map.js +++ b/test/mjsunit/compiler/concurrent-invalidate-transition-map.js @@ -43,9 +43,10 @@ function new_object() { function add_field(obj) { obj.c = 3; } - -add_field(new_object()); -add_field(new_object()); +var obj1 = new_object(); +var obj2 = new_object(); +add_field(obj1); +add_field(obj2); %OptimizeFunctionOnNextCall(add_field, "concurrent"); var o = new_object(); diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index e6ebe4886b..bf91796ec4 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -176,9 +176,6 @@ # BUG(v8:3147). It works on other architectures by accident. 'regress/regress-conditional-position': [FAIL], - # BUG(v8:3156): Fails on gc stress bots. - 'compiler/concurrent-invalidate-transition-map': [PASS, ['gc_stress == True', FAIL]], - # Slow tests. 'array-concat': [PASS, SLOW], 'array-constructor': [PASS, SLOW],