| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |