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

Side by Side Diff: dart/runtime/vm/flow_graph_builder.cc

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/runtime/vm/flow_graph_allocator.cc ('k') | dart/runtime/vm/flow_graph_compiler.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) 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 2223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 case kTypedDataUint8ClampedArrayCid: 2234 case kTypedDataUint8ClampedArrayCid:
2235 case kTypedDataInt16ArrayCid: 2235 case kTypedDataInt16ArrayCid:
2236 case kTypedDataUint16ArrayCid: 2236 case kTypedDataUint16ArrayCid:
2237 case kTypedDataInt32ArrayCid: 2237 case kTypedDataInt32ArrayCid:
2238 case kTypedDataUint32ArrayCid: 2238 case kTypedDataUint32ArrayCid:
2239 case kTypedDataInt64ArrayCid: 2239 case kTypedDataInt64ArrayCid:
2240 case kTypedDataUint64ArrayCid: 2240 case kTypedDataUint64ArrayCid:
2241 case kTypedDataFloat32ArrayCid: 2241 case kTypedDataFloat32ArrayCid:
2242 case kTypedDataFloat64ArrayCid: 2242 case kTypedDataFloat64ArrayCid:
2243 case kTypedDataFloat32x4ArrayCid: 2243 case kTypedDataFloat32x4ArrayCid:
2244 case kTypedDataUint32x4ArrayCid: 2244 case kTypedDataInt32x4ArrayCid:
2245 return function_class.id(); 2245 return function_class.id();
2246 default: 2246 default:
2247 return kDynamicCid; // Unknown. 2247 return kDynamicCid; // Unknown.
2248 } 2248 }
2249 } 2249 }
2250 return kDynamicCid; 2250 return kDynamicCid;
2251 } 2251 }
2252 2252
2253 2253
2254 // <Expression> ::= StaticCall { function: Function 2254 // <Expression> ::= StaticCall { function: Function
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
3858 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1; 3858 intptr_t len = OS::SNPrint(NULL, 0, kFormat, function_name, reason) + 1;
3859 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); 3859 char* chars = Isolate::Current()->current_zone()->Alloc<char>(len);
3860 OS::SNPrint(chars, len, kFormat, function_name, reason); 3860 OS::SNPrint(chars, len, kFormat, function_name, reason);
3861 const Error& error = Error::Handle( 3861 const Error& error = Error::Handle(
3862 LanguageError::New(String::Handle(String::New(chars)))); 3862 LanguageError::New(String::Handle(String::New(chars))));
3863 Isolate::Current()->long_jump_base()->Jump(1, error); 3863 Isolate::Current()->long_jump_base()->Jump(1, error);
3864 } 3864 }
3865 3865
3866 3866
3867 } // namespace dart 3867 } // namespace dart
OLDNEW
« no previous file with comments | « dart/runtime/vm/flow_graph_allocator.cc ('k') | dart/runtime/vm/flow_graph_compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698