| 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/compiler.h" | 7 #include "vm/compiler.h" |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/log.h" | 9 #include "vm/log.h" |
| 10 #include "vm/longjump.h" | 10 #include "vm/longjump.h" |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 static const struct { | 204 static const struct { |
| 205 const char* library_; | 205 const char* library_; |
| 206 const char* class_; | 206 const char* class_; |
| 207 const char* function_; | 207 const char* function_; |
| 208 } kExternallyCalled[] = { | 208 } kExternallyCalled[] = { |
| 209 { "dart:_builtin", "::", "_getMainClosure" }, | 209 { "dart:_builtin", "::", "_getMainClosure" }, |
| 210 { "dart:_builtin", "::", "_getPrintClosure" }, | 210 { "dart:_builtin", "::", "_getPrintClosure" }, |
| 211 { "dart:_builtin", "::", "_getUriBaseClosure" }, | 211 { "dart:_builtin", "::", "_getUriBaseClosure" }, |
| 212 { "dart:_builtin", "::", "_resolveUri" }, | 212 { "dart:_builtin", "::", "_resolveUri" }, |
| 213 { "dart:_builtin", "::", "_setWorkingDirectory" }, | 213 { "dart:_builtin", "::", "_setWorkingDirectory" }, |
| 214 { "dart:_builtin", "::", "_loadDataAsync" }, |
| 214 { "dart:async", "::", "_setScheduleImmediateClosure" }, | 215 { "dart:async", "::", "_setScheduleImmediateClosure" }, |
| 215 { "dart:core", "_InternalError", "_InternalError." }, | 216 { "dart:core", "_InternalError", "_InternalError." }, |
| 216 { "dart:core", "_InvocationMirror", "_allocateInvocationMirror" }, | 217 { "dart:core", "_InvocationMirror", "_allocateInvocationMirror" }, |
| 217 { "dart:io", "::", "_makeUint8ListView" }, | 218 { "dart:io", "::", "_makeUint8ListView" }, |
| 218 { "dart:io", "::", "_makeDatagram" }, | 219 { "dart:io", "::", "_makeDatagram" }, |
| 220 { "dart:io", "::", "_setupHooks" }, |
| 219 { "dart:io", "CertificateException", "CertificateException." }, | 221 { "dart:io", "CertificateException", "CertificateException." }, |
| 220 { "dart:io", "HandshakeException", "HandshakeException." }, | 222 { "dart:io", "HandshakeException", "HandshakeException." }, |
| 221 { "dart:io", "TlsException", "TlsException." }, | 223 { "dart:io", "TlsException", "TlsException." }, |
| 222 { "dart:io", "X509Certificate", "X509Certificate." }, | 224 { "dart:io", "X509Certificate", "X509Certificate." }, |
| 223 { "dart:io", "_ExternalBuffer", "set:data" }, | 225 { "dart:io", "_ExternalBuffer", "set:data" }, |
| 224 { "dart:io", "_Platform", "set:_nativeScript" }, | 226 { "dart:io", "_Platform", "set:_nativeScript" }, |
| 225 { "dart:io", "_ProcessStartStatus", "set:_errorCode" }, | 227 { "dart:io", "_ProcessStartStatus", "set:_errorCode" }, |
| 226 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" }, | 228 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" }, |
| 227 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" }, | 229 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" }, |
| 228 { "dart:io", "_SecureFilterImpl", "get:SIZE" }, | 230 { "dart:io", "_SecureFilterImpl", "get:SIZE" }, |
| 229 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, | 231 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, |
| 230 { "dart:isolate", "::", "_startMainIsolate" }, | 232 { "dart:isolate", "::", "_startMainIsolate" }, |
| 233 { "dart:isolate", "::", "_setupHooks" }, |
| 231 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, | 234 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, |
| 232 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, | 235 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, |
| 233 { "dart:vmservice", "::", "_registerIsolate" }, | 236 { "dart:vmservice", "::", "_registerIsolate" }, |
| 234 { "dart:vmservice", "::", "boot" }, | 237 { "dart:vmservice", "::", "boot" }, |
| 235 { "dart:vmservice_io", "::", "_addResource" }, | 238 { "dart:vmservice_io", "::", "_addResource" }, |
| 236 { "dart:vmservice_io", "::", "main" }, | 239 { "dart:vmservice_io", "::", "main" }, |
| 237 | 240 |
| 238 // Cf. Exceptions::Create | 241 // Cf. Exceptions::Create |
| 239 { "dart:core", "RangeError", "RangeError." }, | 242 { "dart:core", "RangeError", "RangeError." }, |
| 240 { "dart:core", "RangeError", "RangeError.range" }, | 243 { "dart:core", "RangeError", "RangeError.range" }, |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 for (intptr_t j = 0; j < closures.Length(); j++) { | 635 for (intptr_t j = 0; j < closures.Length(); j++) { |
| 633 function ^= closures.At(j); | 636 function ^= closures.At(j); |
| 634 ASSERT(function.HasCode()); | 637 ASSERT(function.HasCode()); |
| 635 } | 638 } |
| 636 } | 639 } |
| 637 } | 640 } |
| 638 } | 641 } |
| 639 } | 642 } |
| 640 | 643 |
| 641 } // namespace dart | 644 } // namespace dart |
| OLD | NEW |