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

Side by Side Diff: src/debug.h

Issue 270273005: Harden yet more runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fixed nits Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/debug.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_H_ 5 #ifndef V8_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_DEBUG_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "arguments.h" 9 #include "arguments.h"
10 #include "assembler.h" 10 #include "assembler.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // DebugInfo. 212 // DebugInfo.
213 class Debug { 213 class Debug {
214 public: 214 public:
215 bool Load(); 215 bool Load();
216 void Unload(); 216 void Unload();
217 bool IsLoaded() { return !debug_context_.is_null(); } 217 bool IsLoaded() { return !debug_context_.is_null(); }
218 bool InDebugger() { return thread_local_.debugger_entry_ != NULL; } 218 bool InDebugger() { return thread_local_.debugger_entry_ != NULL; }
219 void PreemptionWhileInDebugger(); 219 void PreemptionWhileInDebugger();
220 220
221 Object* Break(Arguments args); 221 Object* Break(Arguments args);
222 void SetBreakPoint(Handle<JSFunction> function, 222 bool SetBreakPoint(Handle<JSFunction> function,
223 Handle<Object> break_point_object, 223 Handle<Object> break_point_object,
224 int* source_position); 224 int* source_position);
225 bool SetBreakPointForScript(Handle<Script> script, 225 bool SetBreakPointForScript(Handle<Script> script,
226 Handle<Object> break_point_object, 226 Handle<Object> break_point_object,
227 int* source_position, 227 int* source_position,
228 BreakPositionAlignment alignment); 228 BreakPositionAlignment alignment);
229 void ClearBreakPoint(Handle<Object> break_point_object); 229 void ClearBreakPoint(Handle<Object> break_point_object);
230 void ClearAllBreakPoints(); 230 void ClearAllBreakPoints();
231 void FloodWithOneShot(Handle<JSFunction> function); 231 void FloodWithOneShot(Handle<JSFunction> function);
232 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); 232 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function);
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 Mutex mutex_; 1019 Mutex mutex_;
1020 bool already_signalled_; 1020 bool already_signalled_;
1021 1021
1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1023 }; 1023 };
1024 1024
1025 1025
1026 } } // namespace v8::internal 1026 } } // namespace v8::internal
1027 1027
1028 #endif // V8_DEBUG_H_ 1028 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698