| 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/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
| (...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2227 case kTypedDataUint8ClampedArrayCid: | 2227 case kTypedDataUint8ClampedArrayCid: |
| 2228 case kTypedDataInt16ArrayCid: | 2228 case kTypedDataInt16ArrayCid: |
| 2229 case kTypedDataUint16ArrayCid: | 2229 case kTypedDataUint16ArrayCid: |
| 2230 case kTypedDataInt32ArrayCid: | 2230 case kTypedDataInt32ArrayCid: |
| 2231 case kTypedDataUint32ArrayCid: | 2231 case kTypedDataUint32ArrayCid: |
| 2232 case kTypedDataInt64ArrayCid: | 2232 case kTypedDataInt64ArrayCid: |
| 2233 case kTypedDataUint64ArrayCid: | 2233 case kTypedDataUint64ArrayCid: |
| 2234 case kTypedDataFloat32ArrayCid: | 2234 case kTypedDataFloat32ArrayCid: |
| 2235 case kTypedDataFloat64ArrayCid: | 2235 case kTypedDataFloat64ArrayCid: |
| 2236 case kTypedDataFloat32x4ArrayCid: | 2236 case kTypedDataFloat32x4ArrayCid: |
| 2237 case kTypedDataUint32x4ArrayCid: |
| 2237 return function_class.id(); | 2238 return function_class.id(); |
| 2238 default: | 2239 default: |
| 2239 return kDynamicCid; // Unknown. | 2240 return kDynamicCid; // Unknown. |
| 2240 } | 2241 } |
| 2241 } | 2242 } |
| 2242 return kDynamicCid; | 2243 return kDynamicCid; |
| 2243 } | 2244 } |
| 2244 | 2245 |
| 2245 | 2246 |
| 2246 // <Expression> ::= StaticCall { function: Function | 2247 // <Expression> ::= StaticCall { function: Function |
| (...skipping 1602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3849 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1; | 3850 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1; |
| 3850 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); | 3851 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); |
| 3851 OS::SNPrint(chars, len, kFormat, function_name, reason); | 3852 OS::SNPrint(chars, len, kFormat, function_name, reason); |
| 3852 const Error& error = Error::Handle( | 3853 const Error& error = Error::Handle( |
| 3853 LanguageError::New(String::Handle(String::New(chars)))); | 3854 LanguageError::New(String::Handle(String::New(chars)))); |
| 3854 Isolate::Current()->long_jump_base()->Jump(1, error); | 3855 Isolate::Current()->long_jump_base()->Jump(1, error); |
| 3855 } | 3856 } |
| 3856 | 3857 |
| 3857 | 3858 |
| 3858 } // namespace dart | 3859 } // namespace dart |
| OLD | NEW |