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

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

Issue 9186058: Make the "sticky error" an Error instead of a String. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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/object_store.h ('k') | runtime/vm/parser.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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/longjump.h" 9 #include "vm/longjump.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 false_value_(Bool::null()), 42 false_value_(Bool::null()),
43 empty_array_(Array::null()), 43 empty_array_(Array::null()),
44 symbol_table_(Array::null()), 44 symbol_table_(Array::null()),
45 canonical_type_arguments_(Array::null()), 45 canonical_type_arguments_(Array::null()),
46 core_library_(Library::null()), 46 core_library_(Library::null()),
47 core_impl_library_(Library::null()), 47 core_impl_library_(Library::null()),
48 native_wrappers_library_(Library::null()), 48 native_wrappers_library_(Library::null()),
49 root_library_(Library::null()), 49 root_library_(Library::null()),
50 registered_libraries_(Library::null()), 50 registered_libraries_(Library::null()),
51 pending_classes_(Array::null()), 51 pending_classes_(Array::null()),
52 sticky_error_(String::null()), 52 sticky_error_(Error::null()),
53 empty_context_(Context::null()), 53 empty_context_(Context::null()),
54 stack_overflow_(Instance::null()), 54 stack_overflow_(Instance::null()),
55 out_of_memory_(Instance::null()), 55 out_of_memory_(Instance::null()),
56 preallocate_objects_called_(false) { 56 preallocate_objects_called_(false) {
57 } 57 }
58 58
59 59
60 ObjectStore::~ObjectStore() { 60 ObjectStore::~ObjectStore() {
61 } 61 }
62 62
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 return kBoolInterface; 209 return kBoolInterface;
210 } else if (raw_type == string_interface()) { 210 } else if (raw_type == string_interface()) {
211 return kStringInterface; 211 return kStringInterface;
212 } else if (raw_type == list_interface()) { 212 } else if (raw_type == list_interface()) {
213 return kListInterface; 213 return kListInterface;
214 } 214 }
215 return kInvalidIndex; 215 return kInvalidIndex;
216 } 216 }
217 217
218 } // namespace dart 218 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698