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

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

Issue 22640019: Fix for running with --throw_on_javascript_int_overflow: recognize pattern (a << b) & mask and test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 public: 412 public:
413 ValueGraphVisitor(FlowGraphBuilder* owner, 413 ValueGraphVisitor(FlowGraphBuilder* owner,
414 intptr_t temp_index) 414 intptr_t temp_index)
415 : EffectGraphVisitor(owner, temp_index), value_(NULL) { } 415 : EffectGraphVisitor(owner, temp_index), value_(NULL) { }
416 416
417 // Visit functions overridden by this class. 417 // Visit functions overridden by this class.
418 virtual void VisitLiteralNode(LiteralNode* node); 418 virtual void VisitLiteralNode(LiteralNode* node);
419 virtual void VisitAssignableNode(AssignableNode* node); 419 virtual void VisitAssignableNode(AssignableNode* node);
420 virtual void VisitConstructorCallNode(ConstructorCallNode* node); 420 virtual void VisitConstructorCallNode(ConstructorCallNode* node);
421 virtual void VisitBinaryOpNode(BinaryOpNode* node); 421 virtual void VisitBinaryOpNode(BinaryOpNode* node);
422 virtual void VisitBinaryOpWithMask32Node(BinaryOpWithMask32Node* node);
Florian Schneider 2013/08/14 08:42:47 No need to override this method if it does the sam
srdjan 2013/08/14 14:29:05 Done.
422 virtual void VisitConditionalExprNode(ConditionalExprNode* node); 423 virtual void VisitConditionalExprNode(ConditionalExprNode* node);
423 virtual void VisitLoadLocalNode(LoadLocalNode* node); 424 virtual void VisitLoadLocalNode(LoadLocalNode* node);
424 virtual void VisitStoreLocalNode(StoreLocalNode* node); 425 virtual void VisitStoreLocalNode(StoreLocalNode* node);
425 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); 426 virtual void VisitStoreIndexedNode(StoreIndexedNode* node);
426 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); 427 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node);
427 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); 428 virtual void VisitInstanceSetterNode(InstanceSetterNode* node);
428 virtual void VisitThrowNode(ThrowNode* node); 429 virtual void VisitThrowNode(ThrowNode* node);
429 virtual void VisitClosureCallNode(ClosureCallNode* node); 430 virtual void VisitClosureCallNode(ClosureCallNode* node);
430 virtual void VisitStaticSetterNode(StaticSetterNode* node); 431 virtual void VisitStaticSetterNode(StaticSetterNode* node);
431 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); 432 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 // Output parameters. 514 // Output parameters.
514 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 515 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
515 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 516 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
516 517
517 intptr_t condition_token_pos_; 518 intptr_t condition_token_pos_;
518 }; 519 };
519 520
520 } // namespace dart 521 } // namespace dart
521 522
522 #endif // VM_FLOW_GRAPH_BUILDER_H_ 523 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698