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

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

Issue 2859673002: Pass type argument vector to generic functions (if --reify-generic-functions is (Closed)
Patch Set: address review comments and sync Created 3 years, 7 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
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/flow_graph_builder.cc » ('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 RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ 5 #ifndef RUNTIME_VM_FLOW_GRAPH_BUILDER_H_
6 #define RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ 6 #define RUNTIME_VM_FLOW_GRAPH_BUILDER_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/globals.h" 9 #include "platform/globals.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 MethodRecognizer::Kind kind, 309 MethodRecognizer::Kind kind,
310 intptr_t offset, 310 intptr_t offset,
311 const Type& type, 311 const Type& type,
312 intptr_t class_id); 312 intptr_t class_id);
313 // Assumes setter parameter is named 'value'. Returns null constant. 313 // Assumes setter parameter is named 'value'. Returns null constant.
314 ConstantInstr* DoNativeSetterStoreValue(NativeBodyNode* node, 314 ConstantInstr* DoNativeSetterStoreValue(NativeBodyNode* node,
315 intptr_t offset, 315 intptr_t offset,
316 StoreBarrierType emit_store_barrier); 316 StoreBarrierType emit_store_barrier);
317 317
318 // Helpers for translating parts of the AST. 318 // Helpers for translating parts of the AST.
319 void BuildPushTypeArguments(const ArgumentListNode& node,
320 ZoneGrowableArray<PushArgumentInstr*>* values);
319 void BuildPushArguments(const ArgumentListNode& node, 321 void BuildPushArguments(const ArgumentListNode& node,
320 ZoneGrowableArray<PushArgumentInstr*>* values); 322 ZoneGrowableArray<PushArgumentInstr*>* values);
321 323
322 // Creates an instantiated type argument vector used in preparation of an 324 // Creates an instantiated type argument vector used in preparation of an
323 // allocation call. 325 // allocation call.
324 // May be called only if allocating an object of a parameterized class. 326 // May be called only if allocating an object of a parameterized class.
325 Value* BuildInstantiatedTypeArguments(TokenPosition token_pos, 327 Value* BuildInstantiatedTypeArguments(TokenPosition token_pos,
326 const TypeArguments& type_arguments); 328 const TypeArguments& type_arguments);
327 329
328 Value* BuildInstantiator(TokenPosition token_pos); 330 Value* BuildInstantiator(TokenPosition token_pos);
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // Output parameters. 566 // Output parameters.
565 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 567 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
566 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 568 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
567 569
568 TokenPosition condition_token_pos_; 570 TokenPosition condition_token_pos_;
569 }; 571 };
570 572
571 } // namespace dart 573 } // namespace dart
572 574
573 #endif // RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ 575 #endif // RUNTIME_VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698