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

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

Issue 11280080: MIPS: Lattice-based representation inference, powered by left/right specific type feedback for Bina… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 } 609 }
610 610
611 LOperand* left() { return inputs_[0]; } 611 LOperand* left() { return inputs_[0]; }
612 LOperand* right() { return inputs_[1]; } 612 LOperand* right() { return inputs_[1]; }
613 613
614 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") 614 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
615 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) 615 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch)
616 616
617 Token::Value op() const { return hydrogen()->token(); } 617 Token::Value op() const { return hydrogen()->token(); }
618 bool is_double() const { 618 bool is_double() const {
619 return hydrogen()->GetInputRepresentation().IsDouble(); 619 return hydrogen()->representation().IsDouble();
620 } 620 }
621 621
622 virtual void PrintDataTo(StringStream* stream); 622 virtual void PrintDataTo(StringStream* stream);
623 }; 623 };
624 624
625 625
626 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { 626 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> {
627 public: 627 public:
628 LUnaryMathOperation(LOperand* value, LOperand* temp) { 628 LUnaryMathOperation(LOperand* value, LOperand* temp) {
629 inputs_[0] = value; 629 inputs_[0] = value;
(...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 2501
2502 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2502 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2503 }; 2503 };
2504 2504
2505 #undef DECLARE_HYDROGEN_ACCESSOR 2505 #undef DECLARE_HYDROGEN_ACCESSOR
2506 #undef DECLARE_CONCRETE_INSTRUCTION 2506 #undef DECLARE_CONCRETE_INSTRUCTION
2507 2507
2508 } } // namespace v8::internal 2508 } } // namespace v8::internal
2509 2509
2510 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2510 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698