Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: test/mjsunit/keyed-load-with-symbol-key.js

Issue 2654733004: [tests] Make assertOptimized()/assertUnoptimized() great again. (Closed)
Patch Set: Addressing comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/keyed-load-with-symbol-key.js
diff --git a/test/mjsunit/keyed-load-with-symbol-key.js b/test/mjsunit/keyed-load-with-symbol-key.js
index 15562be6bde2eb50ac8b2ce4464c66555240bb50..36e94ad7fb5fe9fcb290eadbd794e93a60c0c6bb 100644
--- a/test/mjsunit/keyed-load-with-symbol-key.js
+++ b/test/mjsunit/keyed-load-with-symbol-key.js
@@ -25,7 +25,10 @@
// (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 --no-always-opt
+
+assertFalse(isAlwaysOptimize());
+
var s = Symbol("foo");
var o = {

Powered by Google App Engine
This is Rietveld 408576698