| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 static void NewBreak(StackFrame::Id break_frame_id); | 264 static void NewBreak(StackFrame::Id break_frame_id); |
| 265 static void SetBreak(StackFrame::Id break_frame_id, int break_id); | 265 static void SetBreak(StackFrame::Id break_frame_id, int break_id); |
| 266 static StackFrame::Id break_frame_id() { | 266 static StackFrame::Id break_frame_id() { |
| 267 return thread_local_.break_frame_id_; | 267 return thread_local_.break_frame_id_; |
| 268 } | 268 } |
| 269 static int break_id() { return thread_local_.break_id_; } | 269 static int break_id() { return thread_local_.break_id_; } |
| 270 | 270 |
| 271 static bool StepInActive() { return thread_local_.step_into_fp_ != 0; } | 271 static bool StepInActive() { return thread_local_.step_into_fp_ != 0; } |
| 272 static void HandleStepIn(Handle<JSFunction> function, | 272 static void HandleStepIn(Handle<JSFunction> function, |
| 273 Handle<Object> holder, |
| 273 Address fp, | 274 Address fp, |
| 274 bool is_constructor); | 275 bool is_constructor); |
| 275 static Address step_in_fp() { return thread_local_.step_into_fp_; } | 276 static Address step_in_fp() { return thread_local_.step_into_fp_; } |
| 276 static Address* step_in_fp_addr() { return &thread_local_.step_into_fp_; } | 277 static Address* step_in_fp_addr() { return &thread_local_.step_into_fp_; } |
| 277 | 278 |
| 278 static EnterDebugger* debugger_entry() { | 279 static EnterDebugger* debugger_entry() { |
| 279 return thread_local_.debugger_entry_; | 280 return thread_local_.debugger_entry_; |
| 280 } | 281 } |
| 281 static void set_debugger_entry(EnterDebugger* entry) { | 282 static void set_debugger_entry(EnterDebugger* entry) { |
| 282 thread_local_.debugger_entry_ = entry; | 283 thread_local_.debugger_entry_ = entry; |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 Debug::AddressId id_; | 846 Debug::AddressId id_; |
| 846 int reg_; | 847 int reg_; |
| 847 }; | 848 }; |
| 848 | 849 |
| 849 | 850 |
| 850 } } // namespace v8::internal | 851 } } // namespace v8::internal |
| 851 | 852 |
| 852 #endif // ENABLE_DEBUGGER_SUPPORT | 853 #endif // ENABLE_DEBUGGER_SUPPORT |
| 853 | 854 |
| 854 #endif // V8_DEBUG_H_ | 855 #endif // V8_DEBUG_H_ |
| OLD | NEW |