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

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

Issue 2799373002: Pass a second type argument vector to all type instantiation calls in the VM. (Closed)
Patch Set: addressed comments Created 3 years, 8 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
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_builder.cc » ('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 "platform/address_sanitizer.h" 9 #include "platform/address_sanitizer.h"
10 10
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 type ^= handled_types.At(k); 837 type ^= handled_types.At(k);
838 ASSERT(!type.IsNull()); 838 ASSERT(!type.IsNull());
839 // Uninstantiated types are not added to ExceptionHandlers data. 839 // Uninstantiated types are not added to ExceptionHandlers data.
840 ASSERT(type.IsInstantiated()); 840 ASSERT(type.IsInstantiated());
841 if (type.IsMalformed()) { 841 if (type.IsMalformed()) {
842 continue; 842 continue;
843 } 843 }
844 if (type.IsDynamicType()) { 844 if (type.IsDynamicType()) {
845 return true; 845 return true;
846 } 846 }
847 if (exc_obj.IsInstanceOf(type, Object::null_type_arguments(), NULL)) { 847 if (exc_obj.IsInstanceOf(type, Object::null_type_arguments(),
848 Object::null_type_arguments(), NULL)) {
848 return true; 849 return true;
849 } 850 }
850 } 851 }
851 } 852 }
852 try_index = handlers.OuterTryIndex(try_index); 853 try_index = handlers.OuterTryIndex(try_index);
853 } 854 }
854 return false; 855 return false;
855 } 856 }
856 857
857 858
(...skipping 3495 matching lines...) Expand 10 before | Expand all | Expand 10 after
4353 4354
4354 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { 4355 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
4355 ASSERT(bpt->next() == NULL); 4356 ASSERT(bpt->next() == NULL);
4356 bpt->set_next(code_breakpoints_); 4357 bpt->set_next(code_breakpoints_);
4357 code_breakpoints_ = bpt; 4358 code_breakpoints_ = bpt;
4358 } 4359 }
4359 4360
4360 #endif // !PRODUCT 4361 #endif // !PRODUCT
4361 4362
4362 } // namespace dart 4363 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698