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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 } 607 }
608 608
609 LOperand* left() { return inputs_[0]; } 609 LOperand* left() { return inputs_[0]; }
610 LOperand* right() { return inputs_[1]; } 610 LOperand* right() { return inputs_[1]; }
611 611
612 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") 612 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
613 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) 613 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch)
614 614
615 Token::Value op() const { return hydrogen()->token(); } 615 Token::Value op() const { return hydrogen()->token(); }
616 bool is_double() const { 616 bool is_double() const {
617 return hydrogen()->GetInputRepresentation().IsDouble(); 617 return hydrogen()->representation().IsDouble();
618 } 618 }
619 619
620 virtual void PrintDataTo(StringStream* stream); 620 virtual void PrintDataTo(StringStream* stream);
621 }; 621 };
622 622
623 623
624 class LUnaryMathOperation: public LTemplateInstruction<1, 2, 0> { 624 class LUnaryMathOperation: public LTemplateInstruction<1, 2, 0> {
625 public: 625 public:
626 LUnaryMathOperation(LOperand* context, LOperand* value) { 626 LUnaryMathOperation(LOperand* context, LOperand* value) {
627 inputs_[1] = context; 627 inputs_[1] = context;
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after
2655 2655
2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2657 }; 2657 };
2658 2658
2659 #undef DECLARE_HYDROGEN_ACCESSOR 2659 #undef DECLARE_HYDROGEN_ACCESSOR
2660 #undef DECLARE_CONCRETE_INSTRUCTION 2660 #undef DECLARE_CONCRETE_INSTRUCTION
2661 2661
2662 } } // namespace v8::internal 2662 } } // namespace v8::internal
2663 2663
2664 #endif // V8_IA32_LITHIUM_IA32_H_ 2664 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698