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

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

Issue 1077793003: Remove redundant variable descriptors from optimized code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: lazy saved context Created 5 years, 8 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 | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')
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"
11 #include "vm/port.h" 11 #include "vm/port.h"
12 12
13 namespace dart { 13 namespace dart {
14 14
15 class ActiveVariables;
16 class CodeBreakpoint; 15 class CodeBreakpoint;
17 class Isolate; 16 class Isolate;
18 class JSONArray; 17 class JSONArray;
19 class JSONStream; 18 class JSONStream;
20 class ObjectPointerVisitor; 19 class ObjectPointerVisitor;
21 class RemoteObjectCache; 20 class RemoteObjectCache;
22 class SourceBreakpoint; 21 class SourceBreakpoint;
23 class StackFrame; 22 class StackFrame;
24 23
25 // SourceBreakpoint represents a user-specified breakpoint location in 24 // SourceBreakpoint represents a user-specified breakpoint location in
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return code_; 166 return code_;
168 } 167 }
169 168
170 RawString* QualifiedFunctionName(); 169 RawString* QualifiedFunctionName();
171 RawString* SourceUrl(); 170 RawString* SourceUrl();
172 RawScript* SourceScript(); 171 RawScript* SourceScript();
173 RawLibrary* Library(); 172 RawLibrary* Library();
174 intptr_t TokenPos(); 173 intptr_t TokenPos();
175 intptr_t LineNumber(); 174 intptr_t LineNumber();
176 intptr_t ColumnNumber(); 175 intptr_t ColumnNumber();
177 void SetContext(const Context& ctx) { ctx_ = ctx.raw(); }
178 176
179 // Returns true if this frame is for a function that is visible 177 // Returns true if this frame is for a function that is visible
180 // to the user and can be debugged. 178 // to the user and can be debugged.
181 bool IsDebuggable() const; 179 bool IsDebuggable() const;
182 180
183 // The context level of a frame is the context level at the 181 // The context level of a frame is the context level at the
184 // PC/token index of the frame. It determines the depth of the context 182 // PC/token index of the frame. It determines the depth of the context
185 // chain that belongs to the function of this activation frame. 183 // chain that belongs to the function of this activation frame.
186 intptr_t ContextLevel(); 184 intptr_t ContextLevel();
187 185
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 561
564 friend class Isolate; 562 friend class Isolate;
565 friend class SourceBreakpoint; 563 friend class SourceBreakpoint;
566 DISALLOW_COPY_AND_ASSIGN(Debugger); 564 DISALLOW_COPY_AND_ASSIGN(Debugger);
567 }; 565 };
568 566
569 567
570 } // namespace dart 568 } // namespace dart
571 569
572 #endif // VM_DEBUGGER_H_ 570 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698