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

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

Issue 1568713002: Add token position to StoreStaticFieldInstr (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 StaticCallInstr* BuildThrowNoSuchMethodError( 412 StaticCallInstr* BuildThrowNoSuchMethodError(
413 intptr_t token_pos, 413 intptr_t token_pos,
414 const Class& function_class, 414 const Class& function_class,
415 const String& function_name, 415 const String& function_name,
416 ArgumentListNode* function_arguments, 416 ArgumentListNode* function_arguments,
417 int invocation_type); 417 int invocation_type);
418 418
419 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); 419 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed);
420 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, 420 Definition* BuildStoreStaticField(StoreStaticFieldNode* node,
421 bool result_is_needed); 421 bool result_is_needed,
422 intptr_t token_pos);
422 423
423 void BuildClosureCall(ClosureCallNode* node, bool result_needed); 424 void BuildClosureCall(ClosureCallNode* node, bool result_needed);
424 425
425 Value* BuildNullValue(); 426 Value* BuildNullValue();
426 427
427 // Returns true if the run-time type check can be eliminated. 428 // Returns true if the run-time type check can be eliminated.
428 bool CanSkipTypeCheck(intptr_t token_pos, 429 bool CanSkipTypeCheck(intptr_t token_pos,
429 Value* value, 430 Value* value,
430 const AbstractType& dst_type, 431 const AbstractType& dst_type,
431 const String& dst_name); 432 const String& dst_name);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 // Output parameters. 576 // Output parameters.
576 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 577 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
577 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 578 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
578 579
579 intptr_t condition_token_pos_; 580 intptr_t condition_token_pos_;
580 }; 581 };
581 582
582 } // namespace dart 583 } // namespace dart
583 584
584 #endif // VM_FLOW_GRAPH_BUILDER_H_ 585 #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