| 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/debugger.h" | 5 #include "vm/debugger.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 | 8 |
| 9 #include "vm/code_generator.h" | 9 #include "vm/code_generator.h" |
| 10 #include "vm/code_patcher.h" | 10 #include "vm/code_patcher.h" |
| (...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1593 | 1593 |
| 1594 | 1594 |
| 1595 static bool IsDebuggableFunctionKind(const Function& func) { | 1595 static bool IsDebuggableFunctionKind(const Function& func) { |
| 1596 RawFunction::Kind kind = func.kind(); | 1596 RawFunction::Kind kind = func.kind(); |
| 1597 if ((kind == RawFunction::kImplicitGetter) || | 1597 if ((kind == RawFunction::kImplicitGetter) || |
| 1598 (kind == RawFunction::kImplicitSetter) || | 1598 (kind == RawFunction::kImplicitSetter) || |
| 1599 (kind == RawFunction::kImplicitStaticFinalGetter) || | 1599 (kind == RawFunction::kImplicitStaticFinalGetter) || |
| 1600 (kind == RawFunction::kMethodExtractor) || | 1600 (kind == RawFunction::kMethodExtractor) || |
| 1601 (kind == RawFunction::kNoSuchMethodDispatcher) || | 1601 (kind == RawFunction::kNoSuchMethodDispatcher) || |
| 1602 (kind == RawFunction::kInvokeFieldDispatcher) || | 1602 (kind == RawFunction::kInvokeFieldDispatcher) || |
| 1603 (kind == RawFunction::kIrregexpFunction) || | |
| 1604 func.IsImplicitConstructor()) { | 1603 func.IsImplicitConstructor()) { |
| 1605 return false; | 1604 return false; |
| 1606 } | 1605 } |
| 1607 return true; | 1606 return true; |
| 1608 } | 1607 } |
| 1609 | 1608 |
| 1610 | 1609 |
| 1611 static void SelectBestFit(Function* best_fit, Function* func) { | 1610 static void SelectBestFit(Function* best_fit, Function* func) { |
| 1612 if (best_fit->IsNull()) { | 1611 if (best_fit->IsNull()) { |
| 1613 *best_fit = func->raw(); | 1612 *best_fit = func->raw(); |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2486 } | 2485 } |
| 2487 | 2486 |
| 2488 | 2487 |
| 2489 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { | 2488 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { |
| 2490 ASSERT(bpt->next() == NULL); | 2489 ASSERT(bpt->next() == NULL); |
| 2491 bpt->set_next(code_breakpoints_); | 2490 bpt->set_next(code_breakpoints_); |
| 2492 code_breakpoints_ = bpt; | 2491 code_breakpoints_ = bpt; |
| 2493 } | 2492 } |
| 2494 | 2493 |
| 2495 } // namespace dart | 2494 } // namespace dart |
| OLD | NEW |