Index: test/mjsunit/compiler/inline-construct.js |
diff --git a/test/mjsunit/compiler/inline-construct.js b/test/mjsunit/compiler/inline-construct.js |
index af9e69c94020e2ea44283e689d9dd0d0b4809223..7a3f1e44bd256ff5a148ca54e110789b4c79bde2 100644 |
--- a/test/mjsunit/compiler/inline-construct.js |
+++ b/test/mjsunit/compiler/inline-construct.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax --expose-gc --inline-construct |
+// Flags: --allow-natives-syntax --inline-construct |
// Test inlining of constructor calls. |
@@ -68,7 +68,9 @@ function TestInAllContexts(constructor) { |
%DeoptimizeFunction(value_context); |
%DeoptimizeFunction(test_context); |
%DeoptimizeFunction(effect_context); |
- gc(); // Makes V8 forget about type information for *_context. |
+ %ClearFunctionTypeFeedback(value_context); |
+ %ClearFunctionTypeFeedback(test_context); |
+ %ClearFunctionTypeFeedback(effect_context); |
} |