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

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

Issue 683433003: Integrate the Irregexp Regular Expression Engine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more comments Created 6 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/compiler.cc ('k') | runtime/vm/flow_graph.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) 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
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) ||
1603 func.IsImplicitConstructor()) { 1604 func.IsImplicitConstructor()) {
1604 return false; 1605 return false;
1605 } 1606 }
1606 return true; 1607 return true;
1607 } 1608 }
1608 1609
1609 1610
1610 static void SelectBestFit(Function* best_fit, Function* func) { 1611 static void SelectBestFit(Function* best_fit, Function* func) {
1611 if (best_fit->IsNull()) { 1612 if (best_fit->IsNull()) {
1612 *best_fit = func->raw(); 1613 *best_fit = func->raw();
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
2485 } 2486 }
2486 2487
2487 2488
2488 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { 2489 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
2489 ASSERT(bpt->next() == NULL); 2490 ASSERT(bpt->next() == NULL);
2490 bpt->set_next(code_breakpoints_); 2491 bpt->set_next(code_breakpoints_);
2491 code_breakpoints_ = bpt; 2492 code_breakpoints_ = bpt;
2492 } 2493 }
2493 2494
2494 } // namespace dart 2495 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698