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

Side by Side Diff: runtime/vm/debugger.h

Issue 18750004: Faster invocation of fields as methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_DEBUGGER_H_ 5 #ifndef VM_DEBUGGER_H_
6 #define VM_DEBUGGER_H_ 6 #define VM_DEBUGGER_H_
7 7
8 #include "include/dart_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Returns NULL if no breakpoint exists for the given address. 343 // Returns NULL if no breakpoint exists for the given address.
344 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address); 344 CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address);
345 345
346 void SyncBreakpoint(SourceBreakpoint* bpt); 346 void SyncBreakpoint(SourceBreakpoint* bpt);
347 347
348 ActivationFrame* TopDartFrame() const; 348 ActivationFrame* TopDartFrame() const;
349 static DebuggerStackTrace* CollectStackTrace(); 349 static DebuggerStackTrace* CollectStackTrace();
350 void SignalBpResolved(SourceBreakpoint *bpt); 350 void SignalBpResolved(SourceBreakpoint *bpt);
351 void SignalPausedEvent(ActivationFrame* top_frame); 351 void SignalPausedEvent(ActivationFrame* top_frame);
352 352
353 bool IsDebuggable(const Function& func); 353 static bool IsDebuggable(const Function& func);
354 354
355 intptr_t nextId() { return next_id_++; } 355 intptr_t nextId() { return next_id_++; }
356 356
357 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace, 357 bool ShouldPauseOnException(DebuggerStackTrace* stack_trace,
358 const Instance& exc); 358 const Instance& exc);
359 359
360 void CollectLibraryFields(const GrowableObjectArray& field_list, 360 void CollectLibraryFields(const GrowableObjectArray& field_list,
361 const Library& lib, 361 const Library& lib,
362 const String& prefix, 362 const String& prefix,
363 bool include_private_fields); 363 bool include_private_fields);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 395
396 friend class Isolate; 396 friend class Isolate;
397 friend class SourceBreakpoint; 397 friend class SourceBreakpoint;
398 DISALLOW_COPY_AND_ASSIGN(Debugger); 398 DISALLOW_COPY_AND_ASSIGN(Debugger);
399 }; 399 };
400 400
401 401
402 } // namespace dart 402 } // namespace dart
403 403
404 #endif // VM_DEBUGGER_H_ 404 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698