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

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

Issue 15935005: Remove pseudo-node from LoadLocalNode and replace it with a proper AST node. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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
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"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 virtual void VisitLoadLocalNode(LoadLocalNode* node); 393 virtual void VisitLoadLocalNode(LoadLocalNode* node);
394 virtual void VisitStoreLocalNode(StoreLocalNode* node); 394 virtual void VisitStoreLocalNode(StoreLocalNode* node);
395 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); 395 virtual void VisitStoreIndexedNode(StoreIndexedNode* node);
396 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); 396 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node);
397 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); 397 virtual void VisitInstanceSetterNode(InstanceSetterNode* node);
398 virtual void VisitThrowNode(ThrowNode* node); 398 virtual void VisitThrowNode(ThrowNode* node);
399 virtual void VisitClosureCallNode(ClosureCallNode* node); 399 virtual void VisitClosureCallNode(ClosureCallNode* node);
400 virtual void VisitStaticSetterNode(StaticSetterNode* node); 400 virtual void VisitStaticSetterNode(StaticSetterNode* node);
401 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); 401 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node);
402 virtual void VisitTypeNode(TypeNode* node); 402 virtual void VisitTypeNode(TypeNode* node);
403 virtual void VisitCommaNode(CommaNode* node);
403 404
404 Value* value() const { return value_; } 405 Value* value() const { return value_; }
405 406
406 protected: 407 protected:
407 // Output parameters. 408 // Output parameters.
408 Value* value_; 409 Value* value_;
409 410
410 private: 411 private:
411 // Helper to set the output state to return a Value. 412 // Helper to set the output state to return a Value.
412 virtual void ReturnValue(Value* value) { value_ = value; } 413 virtual void ReturnValue(Value* value) { value_ = value; }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // Output parameters. 483 // Output parameters.
483 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 484 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
484 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 485 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
485 486
486 intptr_t condition_token_pos_; 487 intptr_t condition_token_pos_;
487 }; 488 };
488 489
489 } // namespace dart 490 } // namespace dart
490 491
491 #endif // VM_FLOW_GRAPH_BUILDER_H_ 492 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698