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

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

Issue 471283002: Runtime support for evaluation of static field initializer expressions (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/exceptions.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 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 } 1693 }
1694 } 1694 }
1695 } 1695 }
1696 1696
1697 1697
1698 static bool IsDebuggableFunctionKind(const Function& func) { 1698 static bool IsDebuggableFunctionKind(const Function& func) {
1699 RawFunction::Kind kind = func.kind(); 1699 RawFunction::Kind kind = func.kind();
1700 if ((kind == RawFunction::kImplicitGetter) || 1700 if ((kind == RawFunction::kImplicitGetter) ||
1701 (kind == RawFunction::kImplicitSetter) || 1701 (kind == RawFunction::kImplicitSetter) ||
1702 (kind == RawFunction::kImplicitStaticFinalGetter) || 1702 (kind == RawFunction::kImplicitStaticFinalGetter) ||
1703 (kind == RawFunction::kStaticInitializer) ||
1704 (kind == RawFunction::kMethodExtractor) || 1703 (kind == RawFunction::kMethodExtractor) ||
1705 (kind == RawFunction::kNoSuchMethodDispatcher) || 1704 (kind == RawFunction::kNoSuchMethodDispatcher) ||
1706 (kind == RawFunction::kInvokeFieldDispatcher) || 1705 (kind == RawFunction::kInvokeFieldDispatcher) ||
1707 func.IsImplicitConstructor()) { 1706 func.IsImplicitConstructor()) {
1708 return false; 1707 return false;
1709 } 1708 }
1710 return true; 1709 return true;
1711 } 1710 }
1712 1711
1713 1712
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 } 2577 }
2579 2578
2580 2579
2581 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { 2580 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
2582 ASSERT(bpt->next() == NULL); 2581 ASSERT(bpt->next() == NULL);
2583 bpt->set_next(code_breakpoints_); 2582 bpt->set_next(code_breakpoints_);
2584 code_breakpoints_ = bpt; 2583 code_breakpoints_ = bpt;
2585 } 2584 }
2586 2585
2587 } // namespace dart 2586 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/exceptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698