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/il_printer.cc

Issue 10968059: Support for unboxed 64-bit integer bitwise operations and equality on ia32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed boxing of smis and added one more test Created 8 years, 3 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 #include "vm/il_printer.h" 5 #include "vm/il_printer.h"
6 6
7 #include "vm/intermediate_language.h" 7 #include "vm/intermediate_language.h"
8 #include "vm/os.h" 8 #include "vm/os.h"
9 #include "vm/parser.h" 9 #include "vm/parser.h"
10 10
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 } 471 }
472 472
473 void BinarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const { 473 void BinarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const {
474 f->Print("%s, ", Token::Str(op_kind())); 474 f->Print("%s, ", Token::Str(op_kind()));
475 left()->PrintTo(f); 475 left()->PrintTo(f);
476 f->Print(", "); 476 f->Print(", ");
477 right()->PrintTo(f); 477 right()->PrintTo(f);
478 } 478 }
479 479
480 480
481 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { 481 void UnboxedDoubleBinaryOpInstr::PrintOperandsTo(BufferFormatter* f) const {
482 f->Print("%s, ", Token::Str(op_kind())); 482 f->Print("%s, ", Token::Str(op_kind()));
483 left()->PrintTo(f); 483 left()->PrintTo(f);
484 f->Print(", "); 484 f->Print(", ");
485 right()->PrintTo(f); 485 right()->PrintTo(f);
486 } 486 }
487 487
488 488
489 void UnboxedDoubleBinaryOpInstr::PrintOperandsTo(BufferFormatter* f) const { 489 void UnboxedMintBinaryOpInstr::PrintOperandsTo(BufferFormatter* f) const {
490 f->Print("%s, ", Token::Str(op_kind())); 490 f->Print("%s, ", Token::Str(op_kind()));
491 left()->PrintTo(f); 491 left()->PrintTo(f);
492 f->Print(", "); 492 f->Print(", ");
493 right()->PrintTo(f); 493 right()->PrintTo(f);
494 } 494 }
495 495
496 496
497 void UnarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const { 497 void UnarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const {
498 f->Print("%s, ", Token::Str(op_kind())); 498 f->Print("%s, ", Token::Str(op_kind()));
499 value()->PrintTo(f); 499 value()->PrintTo(f);
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 f->Print(" ["); 831 f->Print(" [");
832 locations_[i].PrintTo(f); 832 locations_[i].PrintTo(f);
833 f->Print("]"); 833 f->Print("]");
834 } 834 }
835 } 835 }
836 f->Print(" }"); 836 f->Print(" }");
837 if (outer_ != NULL) outer_->PrintTo(f); 837 if (outer_ != NULL) outer_->PrintTo(f);
838 } 838 }
839 839
840 } // namespace dart 840 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698