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

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

Issue 1631803003: Fix building of closure type arguments (fixes #25543). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | 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 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 "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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // May be called only if allocating an object of a parameterized class. 336 // May be called only if allocating an object of a parameterized class.
337 Value* BuildInstantiatedTypeArguments( 337 Value* BuildInstantiatedTypeArguments(
338 intptr_t token_pos, 338 intptr_t token_pos,
339 const TypeArguments& type_arguments); 339 const TypeArguments& type_arguments);
340 340
341 void BuildTypecheckPushArguments( 341 void BuildTypecheckPushArguments(
342 intptr_t token_pos, 342 intptr_t token_pos,
343 PushArgumentInstr** push_instantiator_type_arguments); 343 PushArgumentInstr** push_instantiator_type_arguments);
344 void BuildTypecheckArguments(intptr_t token_pos, 344 void BuildTypecheckArguments(intptr_t token_pos,
345 Value** instantiator_type_arguments); 345 Value** instantiator_type_arguments);
346 Value* BuildInstantiator(intptr_t token_pos, const Class& instantiator_class); 346 Value* BuildInstantiator(intptr_t token_pos);
347 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, 347 Value* BuildInstantiatorTypeArguments(intptr_t token_pos,
348 const Class& instantiator_class, 348 const Class& instantiator_class,
349 Value* instantiator); 349 Value* instantiator);
350 350
351 // Perform a type check on the given value. 351 // Perform a type check on the given value.
352 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, 352 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos,
353 Value* value, 353 Value* value,
354 const AbstractType& dst_type, 354 const AbstractType& dst_type,
355 const String& dst_name); 355 const String& dst_name);
356 356
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 // Output parameters. 583 // Output parameters.
584 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 584 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
585 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 585 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
586 586
587 intptr_t condition_token_pos_; 587 intptr_t condition_token_pos_;
588 }; 588 };
589 589
590 } // namespace dart 590 } // namespace dart
591 591
592 #endif // VM_FLOW_GRAPH_BUILDER_H_ 592 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698