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

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

Issue 10642026: Do not issue Mint/Smi code sequence if we have only Smi/Smi comnbination. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_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 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1523 const LocalVariable& exception_var_; 1523 const LocalVariable& exception_var_;
1524 const LocalVariable& stacktrace_var_; 1524 const LocalVariable& stacktrace_var_;
1525 1525
1526 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp); 1526 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp);
1527 }; 1527 };
1528 1528
1529 1529
1530 class BinaryOpComp : public TemplateComputation<2> { 1530 class BinaryOpComp : public TemplateComputation<2> {
1531 public: 1531 public:
1532 enum OperandsType { 1532 enum OperandsType {
1533 kDynamicOperands,
1533 kSmiOperands, 1534 kSmiOperands,
1534 kMintOperands, 1535 kMintOperands,
1535 kDoubleOperands 1536 kDoubleOperands
1536 }; 1537 };
1537 1538
1538 BinaryOpComp(Token::Kind op_kind, 1539 BinaryOpComp(Token::Kind op_kind,
1539 OperandsType operands_type, 1540 OperandsType operands_type,
1540 InstanceCallComp* instance_call, 1541 InstanceCallComp* instance_call,
1541 Value* left, 1542 Value* left,
1542 Value* right) 1543 Value* right)
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
2429 const GrowableArray<BlockEntryInstr*>& block_order_; 2430 const GrowableArray<BlockEntryInstr*>& block_order_;
2430 2431
2431 private: 2432 private:
2432 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 2433 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
2433 }; 2434 };
2434 2435
2435 2436
2436 } // namespace dart 2437 } // namespace dart
2437 2438
2438 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 2439 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698