| OLD | NEW |
| 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 #include "vm/object.h" | 5 #include "vm/object.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
| (...skipping 14354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14365 jsobj.AddServiceId(*this); | 14365 jsobj.AddServiceId(*this); |
| 14366 if (IsClosure()) { | 14366 if (IsClosure()) { |
| 14367 jsobj.AddProperty("closureFunction", | 14367 jsobj.AddProperty("closureFunction", |
| 14368 Function::Handle(Closure::function(*this))); | 14368 Function::Handle(Closure::function(*this))); |
| 14369 jsobj.AddProperty("closureContext", | 14369 jsobj.AddProperty("closureContext", |
| 14370 Context::Handle(Closure::context(*this))); | 14370 Context::Handle(Closure::context(*this))); |
| 14371 } | 14371 } |
| 14372 if (ref) { | 14372 if (ref) { |
| 14373 return; | 14373 return; |
| 14374 } | 14374 } |
| 14375 if (IsClosure()) { |
| 14376 Debugger* debugger = Isolate::Current()->debugger(); |
| 14377 Breakpoint* bpt = debugger->BreakpointAtActivation(*this); |
| 14378 if (bpt != NULL) { |
| 14379 jsobj.AddProperty("_activationBreakpoint", bpt); |
| 14380 } |
| 14381 } |
| 14375 } | 14382 } |
| 14376 | 14383 |
| 14377 | 14384 |
| 14378 bool AbstractType::IsResolved() const { | 14385 bool AbstractType::IsResolved() const { |
| 14379 // AbstractType is an abstract class. | 14386 // AbstractType is an abstract class. |
| 14380 UNREACHABLE(); | 14387 UNREACHABLE(); |
| 14381 return false; | 14388 return false; |
| 14382 } | 14389 } |
| 14383 | 14390 |
| 14384 | 14391 |
| (...skipping 6598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20983 return tag_label.ToCString(); | 20990 return tag_label.ToCString(); |
| 20984 } | 20991 } |
| 20985 | 20992 |
| 20986 | 20993 |
| 20987 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20994 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 20988 Instance::PrintJSONImpl(stream, ref); | 20995 Instance::PrintJSONImpl(stream, ref); |
| 20989 } | 20996 } |
| 20990 | 20997 |
| 20991 | 20998 |
| 20992 } // namespace dart | 20999 } // namespace dart |
| OLD | NEW |