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

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

Issue 8803025: Fix linux build (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years 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_ia32.cc ('k') | runtime/vm/object.h » ('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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #include "vm/debugger.h" 5 #include "vm/debugger.h"
6 6
7 #include "vm/code_index_table.h" 7 #include "vm/code_index_table.h"
8 #include "vm/code_patcher.h" 8 #include "vm/code_patcher.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/flags.h" 10 #include "vm/flags.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const Script& script = Script::Handle(SourceScript()); 127 const Script& script = Script::Handle(SourceScript());
128 intptr_t ignore_column; 128 intptr_t ignore_column;
129 script.GetTokenLocation(TokenIndex(), &line_number_, &ignore_column); 129 script.GetTokenLocation(TokenIndex(), &line_number_, &ignore_column);
130 } 130 }
131 return line_number_; 131 return line_number_;
132 } 132 }
133 133
134 134
135 RawArray* ActivationFrame::Variables() { 135 RawArray* ActivationFrame::Variables() {
136 UNIMPLEMENTED(); 136 UNIMPLEMENTED();
137 return NULL;
137 } 138 }
138 139
139 140
140 RawInstance* ActivationFrame::Value(const String& variable_name) { 141 RawInstance* ActivationFrame::Value(const String& variable_name) {
141 UNIMPLEMENTED(); 142 UNIMPLEMENTED();
143 return NULL;
142 } 144 }
143 145
144 146
145 const char* ActivationFrame::ToCString() { 147 const char* ActivationFrame::ToCString() {
146 const char* kFormat = "Function: '%s%s%s' url: '%s' line: %d"; 148 const char* kFormat = "Function: '%s%s%s' url: '%s' line: %d";
147 149
148 Function& func = Function::Handle(DartFunction()); 150 Function& func = Function::Handle(DartFunction());
149 String& func_name = String::Handle(func.name()); 151 String& func_name = String::Handle(func.name());
150 Class& func_class = Class::Handle(func.owner()); 152 Class& func_class = Class::Handle(func.owner());
151 String& class_name = String::Handle(func_class.Name()); 153 String& class_name = String::Handle(func_class.Name());
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 355
354 356
355 void Debugger::AddBreakpoint(Breakpoint* bpt) { 357 void Debugger::AddBreakpoint(Breakpoint* bpt) {
356 ASSERT(bpt->next() == NULL); 358 ASSERT(bpt->next() == NULL);
357 bpt->set_next(this->breakpoints_); 359 bpt->set_next(this->breakpoints_);
358 this->breakpoints_ = bpt; 360 this->breakpoints_ = bpt;
359 } 361 }
360 362
361 363
362 } // namespace dart 364 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698