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

Side by Side Diff: test/cctest/test-serialize.cc

Issue 660298: Always invoke C++ ArrayPush builtin. (Closed)
Patch Set: Next round Created 10 years, 9 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
« no previous file with comments | « src/x64/stub-cache-x64.cc ('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 2007-2010 the V8 project authors. All rights reserved. 1 // Copyright 2007-2010 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 } 276 }
277 277
278 278
279 static void SanityCheck() { 279 static void SanityCheck() {
280 v8::HandleScope scope; 280 v8::HandleScope scope;
281 #ifdef DEBUG 281 #ifdef DEBUG
282 Heap::Verify(); 282 Heap::Verify();
283 #endif 283 #endif
284 CHECK(Top::global()->IsJSObject()); 284 CHECK(Top::global()->IsJSObject());
285 CHECK(Top::global_context()->IsContext()); 285 CHECK(Top::global_context()->IsContext());
286 CHECK(Top::special_function_table()->IsFixedArray());
287 CHECK(Heap::symbol_table()->IsSymbolTable()); 286 CHECK(Heap::symbol_table()->IsSymbolTable());
288 CHECK(!Factory::LookupAsciiSymbol("Empty")->IsFailure()); 287 CHECK(!Factory::LookupAsciiSymbol("Empty")->IsFailure());
289 } 288 }
290 289
291 290
292 DEPENDENT_TEST(Deserialize, Serialize) { 291 DEPENDENT_TEST(Deserialize, Serialize) {
293 v8::HandleScope scope; 292 v8::HandleScope scope;
294 293
295 Deserialize(); 294 Deserialize();
296 295
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 TEST(TestThatAlwaysFails) { 560 TEST(TestThatAlwaysFails) {
562 bool ArtificialFailure = false; 561 bool ArtificialFailure = false;
563 CHECK(ArtificialFailure); 562 CHECK(ArtificialFailure);
564 } 563 }
565 564
566 565
567 DEPENDENT_TEST(DependentTestThatAlwaysFails, TestThatAlwaysSucceeds) { 566 DEPENDENT_TEST(DependentTestThatAlwaysFails, TestThatAlwaysSucceeds) {
568 bool ArtificialFailure2 = false; 567 bool ArtificialFailure2 = false;
569 CHECK(ArtificialFailure2); 568 CHECK(ArtificialFailure2);
570 } 569 }
OLDNEW
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698