Index: test/mjsunit/es6/block-scoping.js |
diff --git a/test/mjsunit/es6/block-scoping.js b/test/mjsunit/es6/block-scoping.js |
index 0308edde96a37dd0ca0675196fb7d4501a550d2f..ec13592977cc01e4a67da737140dc6362500fc13 100644 |
--- a/test/mjsunit/es6/block-scoping.js |
+++ b/test/mjsunit/es6/block-scoping.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 |
+// Flags: --allow-natives-syntax --crankshaft |
// Test functionality of block scopes. |
"use strict"; |
@@ -42,7 +42,7 @@ function f1() { |
for (var j = 0; j < 5; ++j) f1(); |
%OptimizeFunctionOnNextCall(f1); |
f1(); |
-assertTrue(%GetOptimizationStatus(f1) != 2); |
+assertOptimized(f1); |
// Dynamic lookup in and through block contexts. |
function f2(one) { |