1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Flags: --cache=code --serialize-toplevel
9 assertEquals(["bar"], foo);
14 a[0] = a[0] + 1; // KEYED_STORE_IC, KEYED_LOAD_IC, BINARY_OP_IC
15 assertTrue(a[0] > b); // CALL_IC, COMPARE_IC
16 b = b == null; // COMPARE_NIL_IC
17 b = b || Boolean(''); // TO_BOOLEAN_IC