OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 fp = it.frame()->fp(); | 1111 fp = it.frame()->fp(); |
1112 } | 1112 } |
1113 | 1113 |
1114 // Flood the function with one-shot break points if it is called from where | 1114 // Flood the function with one-shot break points if it is called from where |
1115 // step into was requested. | 1115 // step into was requested. |
1116 if (fp == Debug::step_in_fp()) { | 1116 if (fp == Debug::step_in_fp()) { |
1117 // Don't allow step into functions in the native context. | 1117 // Don't allow step into functions in the native context. |
1118 if (function->context()->global() != Top::context()->builtins()) { | 1118 if (function->context()->global() != Top::context()->builtins()) { |
1119 Debug::FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared())); | 1119 Debug::FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared())); |
1120 } | 1120 } |
1121 } | 1121 } |
1122 } | 1122 } |
1123 | 1123 |
1124 | 1124 |
1125 void Debug::ClearStepping() { | 1125 void Debug::ClearStepping() { |
1126 // Clear the various stepping setup. | 1126 // Clear the various stepping setup. |
1127 ClearOneShot(); | 1127 ClearOneShot(); |
1128 ClearStepIn(); | 1128 ClearStepIn(); |
1129 ClearStepNext(); | 1129 ClearStepNext(); |
1130 | 1130 |
1131 // Clear multiple step counter. | 1131 // Clear multiple step counter. |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1993 } | 1993 } |
1994 | 1994 |
1995 | 1995 |
1996 void LockingMessageQueue::Clear() { | 1996 void LockingMessageQueue::Clear() { |
1997 ScopedLock sl(lock_); | 1997 ScopedLock sl(lock_); |
1998 queue_.Clear(); | 1998 queue_.Clear(); |
1999 } | 1999 } |
2000 | 2000 |
2001 | 2001 |
2002 } } // namespace v8::internal | 2002 } } // namespace v8::internal |
OLD | NEW |