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

Side by Side Diff: test/mjsunit/unbox-double-arrays.js

Issue 11971015: Skip stack trace formatting in case the global object is already dead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix leaks in the setter. Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/mjsunit/stack-traces-overflow.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 483
484 test_for_in(); 484 test_for_in();
485 test_for_in(); 485 test_for_in();
486 test_for_in(); 486 test_for_in();
487 %OptimizeFunctionOnNextCall(test_for_in); 487 %OptimizeFunctionOnNextCall(test_for_in);
488 test_for_in(); 488 test_for_in();
489 test_for_in(); 489 test_for_in();
490 test_for_in(); 490 test_for_in();
491 491
492 function test_get_property_names() { 492 function test_get_property_names() {
493 names = %GetPropertyNames(large_array3); 493 names = %GetPropertyNamesNoSideEffect(large_array3);
494 property_name_count = 0; 494 property_name_count = 0;
495 for (x in names) { property_name_count++; }; 495 for (x in names) { property_name_count++; };
496 assertEquals(26, property_name_count); 496 assertEquals(26, property_name_count);
497 } 497 }
498 498
499 test_get_property_names(); 499 test_get_property_names();
500 test_get_property_names(); 500 test_get_property_names();
501 test_get_property_names(); 501 test_get_property_names();
502 502
503 // Test elements getters. 503 // Test elements getters.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 assertEquals(expected_array_value(2), large_array4[2]); 540 assertEquals(expected_array_value(2), large_array4[2]);
541 } 541 }
542 542
543 test_setter(); 543 test_setter();
544 test_setter(); 544 test_setter();
545 test_setter(); 545 test_setter();
546 %OptimizeFunctionOnNextCall(test_setter); 546 %OptimizeFunctionOnNextCall(test_setter);
547 test_setter(); 547 test_setter();
548 test_setter(); 548 test_setter();
549 test_setter(); 549 test_setter();
OLDNEW
« no previous file with comments | « test/mjsunit/stack-traces-overflow.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698