| OLD | NEW |
| 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/flow_graph_builder.h" | 5 #include "vm/flow_graph_builder.h" |
| 6 | 6 |
| 7 #include "lib/invocation_mirror.h" | 7 #include "lib/invocation_mirror.h" |
| 8 #include "vm/ast_printer.h" | 8 #include "vm/ast_printer.h" |
| 9 #include "vm/bit_vector.h" | 9 #include "vm/bit_vector.h" |
| 10 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
| (...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2245 case kTypedDataUint8ClampedArrayCid: | 2245 case kTypedDataUint8ClampedArrayCid: |
| 2246 case kTypedDataInt16ArrayCid: | 2246 case kTypedDataInt16ArrayCid: |
| 2247 case kTypedDataUint16ArrayCid: | 2247 case kTypedDataUint16ArrayCid: |
| 2248 case kTypedDataInt32ArrayCid: | 2248 case kTypedDataInt32ArrayCid: |
| 2249 case kTypedDataUint32ArrayCid: | 2249 case kTypedDataUint32ArrayCid: |
| 2250 case kTypedDataInt64ArrayCid: | 2250 case kTypedDataInt64ArrayCid: |
| 2251 case kTypedDataUint64ArrayCid: | 2251 case kTypedDataUint64ArrayCid: |
| 2252 case kTypedDataFloat32ArrayCid: | 2252 case kTypedDataFloat32ArrayCid: |
| 2253 case kTypedDataFloat64ArrayCid: | 2253 case kTypedDataFloat64ArrayCid: |
| 2254 case kTypedDataFloat32x4ArrayCid: | 2254 case kTypedDataFloat32x4ArrayCid: |
| 2255 case kTypedDataUint32x4ArrayCid: | 2255 case kTypedDataInt32x4ArrayCid: |
| 2256 return function_class.id(); | 2256 return function_class.id(); |
| 2257 default: | 2257 default: |
| 2258 return kDynamicCid; // Unknown. | 2258 return kDynamicCid; // Unknown. |
| 2259 } | 2259 } |
| 2260 } | 2260 } |
| 2261 return kDynamicCid; | 2261 return kDynamicCid; |
| 2262 } | 2262 } |
| 2263 | 2263 |
| 2264 | 2264 |
| 2265 // <Expression> ::= StaticCall { function: Function | 2265 // <Expression> ::= StaticCall { function: Function |
| (...skipping 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3884 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1; | 3884 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1; |
| 3885 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); | 3885 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); |
| 3886 OS::SNPrint(chars, len, kFormat, function_name, reason); | 3886 OS::SNPrint(chars, len, kFormat, function_name, reason); |
| 3887 const Error& error = Error::Handle( | 3887 const Error& error = Error::Handle( |
| 3888 LanguageError::New(String::Handle(String::New(chars)))); | 3888 LanguageError::New(String::Handle(String::New(chars)))); |
| 3889 Isolate::Current()->long_jump_base()->Jump(1, error); | 3889 Isolate::Current()->long_jump_base()->Jump(1, error); |
| 3890 } | 3890 } |
| 3891 | 3891 |
| 3892 | 3892 |
| 3893 } // namespace dart | 3893 } // namespace dart |
| OLD | NEW |