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

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

Issue 11558034: Second version of support for specifying an unhandled exception callback (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
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/object_store.h" 5 #include "vm/object_store.h"
6 6
7 #include "vm/exceptions.h" 7 #include "vm/exceptions.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/raw_object.h" 10 #include "vm/raw_object.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 math_library_(Library::null()), 73 math_library_(Library::null()),
74 isolate_library_(Library::null()), 74 isolate_library_(Library::null()),
75 mirrors_library_(Library::null()), 75 mirrors_library_(Library::null()),
76 scalarlist_library_(Library::null()), 76 scalarlist_library_(Library::null()),
77 native_wrappers_library_(Library::null()), 77 native_wrappers_library_(Library::null()),
78 builtin_library_(Library::null()), 78 builtin_library_(Library::null()),
79 root_library_(Library::null()), 79 root_library_(Library::null()),
80 libraries_(GrowableObjectArray::null()), 80 libraries_(GrowableObjectArray::null()),
81 pending_classes_(GrowableObjectArray::null()), 81 pending_classes_(GrowableObjectArray::null()),
82 sticky_error_(Error::null()), 82 sticky_error_(Error::null()),
83 unhandled_exception_handler_(String::null()),
83 empty_context_(Context::null()), 84 empty_context_(Context::null()),
84 stack_overflow_(Instance::null()), 85 stack_overflow_(Instance::null()),
85 out_of_memory_(Instance::null()), 86 out_of_memory_(Instance::null()),
86 keyword_symbols_(Array::null()) { 87 keyword_symbols_(Array::null()) {
87 } 88 }
88 89
89 90
90 ObjectStore::~ObjectStore() { 91 ObjectStore::~ObjectStore() {
91 } 92 }
92 93
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void ObjectStore::InitKeywordTable() { 135 void ObjectStore::InitKeywordTable() {
135 // Set up the keywords symbol array so that we can access it while scanning. 136 // Set up the keywords symbol array so that we can access it while scanning.
136 Array& keywords = Array::Handle(keyword_symbols()); 137 Array& keywords = Array::Handle(keyword_symbols());
137 ASSERT(keywords.IsNull()); 138 ASSERT(keywords.IsNull());
138 keywords = Array::New(Token::numKeywords, Heap::kOld); 139 keywords = Array::New(Token::numKeywords, Heap::kOld);
139 ASSERT(!keywords.IsError() && !keywords.IsNull()); 140 ASSERT(!keywords.IsError() && !keywords.IsNull());
140 set_keyword_symbols(keywords); 141 set_keyword_symbols(keywords);
141 } 142 }
142 143
143 } // namespace dart 144 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698