Index: test/mjsunit/opt-elements-kind.js |
diff --git a/test/mjsunit/opt-elements-kind.js b/test/mjsunit/opt-elements-kind.js |
index 5f4f437299a5551d6c0075095630b5209bacb3f6..be7303b04bb1aea76242e7bab039471ce15fca8d 100644 |
--- a/test/mjsunit/opt-elements-kind.js |
+++ b/test/mjsunit/opt-elements-kind.js |
@@ -142,16 +142,10 @@ |
assertTrue(%HaveSameMap(smis, doubles)); |
} |
-function clear_ic_state() { |
- %ClearFunctionTypeFeedback(construct_smis); |
- %ClearFunctionTypeFeedback(construct_doubles); |
- %ClearFunctionTypeFeedback(convert_mixed); |
-} |
- |
test1(); |
-clear_ic_state(); |
+gc(); // clear IC state |
test1(); |
-clear_ic_state(); |
+gc(); // clear IC state |
%OptimizeFunctionOnNextCall(test1); |
test1(); |
-clear_ic_state(); |
+gc(); // clear IC state |