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

Side by Side Diff: src/arm/lithium-arm.h

Issue 10837165: Lattice-based representation inference, powered by left/right specific type feedback for BinaryOps … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback; fixed tests Created 8 years, 1 month 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 | « src/arm/ic-arm.cc ('k') | src/arm/lithium-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 } 629 }
630 630
631 LOperand* left() { return inputs_[0]; } 631 LOperand* left() { return inputs_[0]; }
632 LOperand* right() { return inputs_[1]; } 632 LOperand* right() { return inputs_[1]; }
633 633
634 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") 634 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
635 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) 635 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch)
636 636
637 Token::Value op() const { return hydrogen()->token(); } 637 Token::Value op() const { return hydrogen()->token(); }
638 bool is_double() const { 638 bool is_double() const {
639 return hydrogen()->GetInputRepresentation().IsDouble(); 639 return hydrogen()->representation().IsDouble();
640 } 640 }
641 641
642 virtual void PrintDataTo(StringStream* stream); 642 virtual void PrintDataTo(StringStream* stream);
643 }; 643 };
644 644
645 645
646 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { 646 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> {
647 public: 647 public:
648 LUnaryMathOperation(LOperand* value, LOperand* temp) { 648 LUnaryMathOperation(LOperand* value, LOperand* temp) {
649 inputs_[0] = value; 649 inputs_[0] = value;
(...skipping 1874 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 2524
2525 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2525 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2526 }; 2526 };
2527 2527
2528 #undef DECLARE_HYDROGEN_ACCESSOR 2528 #undef DECLARE_HYDROGEN_ACCESSOR
2529 #undef DECLARE_CONCRETE_INSTRUCTION 2529 #undef DECLARE_CONCRETE_INSTRUCTION
2530 2530
2531 } } // namespace v8::internal 2531 } } // namespace v8::internal
2532 2532
2533 #endif // V8_ARM_LITHIUM_ARM_H_ 2533 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698