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

Side by Side Diff: runtime/vm/flow_graph_builder.h

Issue 23038010: Fix Function.end_token_pos() and implement MethodMirror.source getter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 7 years, 3 months 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 | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/intermediate_language.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 #ifndef VM_FLOW_GRAPH_BUILDER_H_ 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_
6 #define VM_FLOW_GRAPH_BUILDER_H_ 6 #define VM_FLOW_GRAPH_BUILDER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
11 #include "vm/intermediate_language.h" 11 #include "vm/intermediate_language.h"
12 12
13 namespace dart { 13 namespace dart {
14 14
15 class FlowGraph; 15 class FlowGraph;
16 class Instruction; 16 class Instruction;
17 class ParsedFunction; 17 class ParsedFunction;
18 18
19 // List of recognized list factories: 19 // List of recognized list factories:
20 // (factory-name-symbol, result-cid, fingerprint). 20 // (factory-name-symbol, result-cid, fingerprint).
21 // TODO(srdjan): Store the values in the snapshot instead. 21 // TODO(srdjan): Store the values in the snapshot instead.
22 #define RECOGNIZED_LIST_FACTORY_LIST(V) \ 22 #define RECOGNIZED_LIST_FACTORY_LIST(V) \
23 V(ObjectArrayFactory, kArrayCid, 712468799) \ 23 V(ObjectArrayFactory, kArrayCid, 1930677134) \
24 V(GrowableObjectArrayWithData, kGrowableObjectArrayCid, 917195627) \ 24 V(GrowableObjectArrayWithData, kGrowableObjectArrayCid, 1012992871) \
25 V(GrowableObjectArrayFactory, kGrowableObjectArrayCid, 1707369421) \ 25 V(GrowableObjectArrayFactory, kGrowableObjectArrayCid, 1707369421) \
26 V(_Int8ArrayFactory, kTypedDataInt8ArrayCid, 1340298556) \ 26 V(_Int8ArrayFactory, kTypedDataInt8ArrayCid, 1340298556) \
27 V(_Uint8ArrayFactory, kTypedDataUint8ArrayCid, 1775618642) \ 27 V(_Uint8ArrayFactory, kTypedDataUint8ArrayCid, 1775618642) \
28 V(_Uint8ClampedArrayFactory, kTypedDataUint8ClampedArrayCid, 264668024) \ 28 V(_Uint8ClampedArrayFactory, kTypedDataUint8ClampedArrayCid, 264668024) \
29 V(_Int16ArrayFactory, kTypedDataInt16ArrayCid, 1095249987) \ 29 V(_Int16ArrayFactory, kTypedDataInt16ArrayCid, 1095249987) \
30 V(_Uint16ArrayFactory, kTypedDataUint16ArrayCid, 1275304272) \ 30 V(_Uint16ArrayFactory, kTypedDataUint16ArrayCid, 1275304272) \
31 V(_Int32ArrayFactory, kTypedDataInt32ArrayCid, 523449884) \ 31 V(_Int32ArrayFactory, kTypedDataInt32ArrayCid, 523449884) \
32 V(_Uint32ArrayFactory, kTypedDataUint32ArrayCid, 458531362) \ 32 V(_Uint32ArrayFactory, kTypedDataUint32ArrayCid, 458531362) \
33 V(_Int64ArrayFactory, kTypedDataInt64ArrayCid, 1753070829) \ 33 V(_Int64ArrayFactory, kTypedDataInt64ArrayCid, 1753070829) \
34 V(_Uint64ArrayFactory, kTypedDataUint64ArrayCid, 1561660391) \ 34 V(_Uint64ArrayFactory, kTypedDataUint64ArrayCid, 1561660391) \
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 // Output parameters. 513 // Output parameters.
514 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 514 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
515 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 515 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
516 516
517 intptr_t condition_token_pos_; 517 intptr_t condition_token_pos_;
518 }; 518 };
519 519
520 } // namespace dart 520 } // namespace dart
521 521
522 #endif // VM_FLOW_GRAPH_BUILDER_H_ 522 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698