| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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/precompiler.h" | 5 #include "vm/precompiler.h" |
| 6 | 6 |
| 7 #include "vm/cha.h" | 7 #include "vm/cha.h" |
| 8 #include "vm/code_patcher.h" | 8 #include "vm/code_patcher.h" |
| 9 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 10 #include "vm/hash_table.h" | 10 #include "vm/hash_table.h" |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 cls = isolate()->class_table()->At(kExternallyAllocatedCids[i]); | 222 cls = isolate()->class_table()->At(kExternallyAllocatedCids[i]); |
| 223 AddInstantiatedClass(cls); | 223 AddInstantiatedClass(cls); |
| 224 } | 224 } |
| 225 | 225 |
| 226 Dart_QualifiedFunctionName vm_entry_points[] = { | 226 Dart_QualifiedFunctionName vm_entry_points[] = { |
| 227 { "dart:async", "::", "_setScheduleImmediateClosure" }, | 227 { "dart:async", "::", "_setScheduleImmediateClosure" }, |
| 228 { "dart:core", "::", "_completeDeferredLoads"}, | 228 { "dart:core", "::", "_completeDeferredLoads"}, |
| 229 { "dart:core", "AbstractClassInstantiationError", | 229 { "dart:core", "AbstractClassInstantiationError", |
| 230 "AbstractClassInstantiationError._create" }, | 230 "AbstractClassInstantiationError._create" }, |
| 231 { "dart:core", "ArgumentError", "ArgumentError." }, | 231 { "dart:core", "ArgumentError", "ArgumentError." }, |
| 232 { "dart:core", "AssertionError", "AssertionError." }, | |
| 233 { "dart:core", "CyclicInitializationError", | 232 { "dart:core", "CyclicInitializationError", |
| 234 "CyclicInitializationError." }, | 233 "CyclicInitializationError." }, |
| 235 { "dart:core", "FallThroughError", "FallThroughError._create" }, | 234 { "dart:core", "FallThroughError", "FallThroughError._create" }, |
| 236 { "dart:core", "FormatException", "FormatException." }, | 235 { "dart:core", "FormatException", "FormatException." }, |
| 237 { "dart:core", "NoSuchMethodError", "NoSuchMethodError._withType" }, | 236 { "dart:core", "NoSuchMethodError", "NoSuchMethodError._withType" }, |
| 238 { "dart:core", "NullThrownError", "NullThrownError." }, | 237 { "dart:core", "NullThrownError", "NullThrownError." }, |
| 239 { "dart:core", "OutOfMemoryError", "OutOfMemoryError." }, | 238 { "dart:core", "OutOfMemoryError", "OutOfMemoryError." }, |
| 240 { "dart:core", "RangeError", "RangeError." }, | 239 { "dart:core", "RangeError", "RangeError." }, |
| 241 { "dart:core", "RangeError", "RangeError.range" }, | 240 { "dart:core", "RangeError", "RangeError.range" }, |
| 242 { "dart:core", "StackOverflowError", "StackOverflowError." }, | 241 { "dart:core", "StackOverflowError", "StackOverflowError." }, |
| 243 { "dart:core", "UnsupportedError", "UnsupportedError." }, | 242 { "dart:core", "UnsupportedError", "UnsupportedError." }, |
| 243 { "dart:core", "_AssertionError", "_AssertionError._create" }, |
| 244 { "dart:core", "_CastError", "_CastError._create" }, | 244 { "dart:core", "_CastError", "_CastError._create" }, |
| 245 { "dart:core", "_InternalError", "_InternalError." }, | 245 { "dart:core", "_InternalError", "_InternalError." }, |
| 246 { "dart:core", "_InvocationMirror", "_allocateInvocationMirror" }, | 246 { "dart:core", "_InvocationMirror", "_allocateInvocationMirror" }, |
| 247 { "dart:core", "_JavascriptCompatibilityError", | 247 { "dart:core", "_JavascriptCompatibilityError", |
| 248 "_JavascriptCompatibilityError." }, | 248 "_JavascriptCompatibilityError." }, |
| 249 { "dart:core", "_JavascriptIntegerOverflowError", | 249 { "dart:core", "_JavascriptIntegerOverflowError", |
| 250 "_JavascriptIntegerOverflowError." }, | 250 "_JavascriptIntegerOverflowError." }, |
| 251 { "dart:core", "_TypeError", "_TypeError._create" }, | 251 { "dart:core", "_TypeError", "_TypeError._create" }, |
| 252 { "dart:isolate", "IsolateSpawnException", "IsolateSpawnException." }, | 252 { "dart:isolate", "IsolateSpawnException", "IsolateSpawnException." }, |
| 253 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, | 253 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 cls = it.GetNextClass(); | 1140 cls = it.GetNextClass(); |
| 1141 if (cls.IsDynamicClass()) { | 1141 if (cls.IsDynamicClass()) { |
| 1142 continue; // class 'dynamic' is in the read-only VM isolate. | 1142 continue; // class 'dynamic' is in the read-only VM isolate. |
| 1143 } | 1143 } |
| 1144 cls.set_is_allocated(false); | 1144 cls.set_is_allocated(false); |
| 1145 } | 1145 } |
| 1146 } | 1146 } |
| 1147 } | 1147 } |
| 1148 | 1148 |
| 1149 } // namespace dart | 1149 } // namespace dart |
| OLD | NEW |