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-debug.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 years, 6 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 | « test/cctest/profiler-extension.cc ('k') | test/cctest/test-global-object.cc » ('j') | 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 } else if (RelocInfo::IsJSReturn(rmode)) { 418 } else if (RelocInfo::IsJSReturn(rmode)) {
419 CHECK(!it.rinfo()->IsPatchedReturnSequence()); 419 CHECK(!it.rinfo()->IsPatchedReturnSequence());
420 } 420 }
421 } 421 }
422 } 422 }
423 } 423 }
424 } 424 }
425 } 425 }
426 426
427 427
428 } } // namespace v8::internal 428 } // namespace internal
429 } // namespace v8
429 430
430 431
431 // Check that the debugger has been fully unloaded. 432 // Check that the debugger has been fully unloaded.
432 static void CheckDebuggerUnloaded(bool check_functions = false) { 433 static void CheckDebuggerUnloaded(bool check_functions = false) {
433 // Let debugger to unload itself synchronously 434 // Let debugger to unload itself synchronously
434 v8::Debug::ProcessDebugMessages(); 435 v8::Debug::ProcessDebugMessages();
435 436
436 v8::internal::CheckDebuggerUnloaded(check_functions); 437 v8::internal::CheckDebuggerUnloaded(check_functions);
437 } 438 }
438 439
(...skipping 7206 matching lines...) Expand 10 before | Expand all | Expand 10 after
7645 "let y = 2; \n" 7646 "let y = 2; \n"
7646 "debugger; \n" 7647 "debugger; \n"
7647 "x * y", 7648 "x * y",
7648 30); 7649 30);
7649 ExpectInt32( 7650 ExpectInt32(
7650 "x = 1; y = 2; \n" 7651 "x = 1; y = 2; \n"
7651 "debugger;" 7652 "debugger;"
7652 "x * y", 7653 "x * y",
7653 30); 7654 30);
7654 } 7655 }
OLDNEW
« no previous file with comments | « test/cctest/profiler-extension.cc ('k') | test/cctest/test-global-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698