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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 } 613 }
614 614
615 LOperand* left() { return inputs_[0]; } 615 LOperand* left() { return inputs_[0]; }
616 LOperand* right() { return inputs_[1]; } 616 LOperand* right() { return inputs_[1]; }
617 617
618 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") 618 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch")
619 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) 619 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch)
620 620
621 Token::Value op() const { return hydrogen()->token(); } 621 Token::Value op() const { return hydrogen()->token(); }
622 bool is_double() const { 622 bool is_double() const {
623 return hydrogen()->GetInputRepresentation().IsDouble(); 623 return hydrogen()->representation().IsDouble();
624 } 624 }
625 625
626 virtual void PrintDataTo(StringStream* stream); 626 virtual void PrintDataTo(StringStream* stream);
627 }; 627 };
628 628
629 629
630 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 0> { 630 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 0> {
631 public: 631 public:
632 explicit LUnaryMathOperation(LOperand* value) { 632 explicit LUnaryMathOperation(LOperand* value) {
633 inputs_[0] = value; 633 inputs_[0] = value;
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2485 2485
2486 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2486 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2487 }; 2487 };
2488 2488
2489 #undef DECLARE_HYDROGEN_ACCESSOR 2489 #undef DECLARE_HYDROGEN_ACCESSOR
2490 #undef DECLARE_CONCRETE_INSTRUCTION 2490 #undef DECLARE_CONCRETE_INSTRUCTION
2491 2491
2492 } } // namespace v8::int 2492 } } // namespace v8::int
2493 2493
2494 #endif // V8_X64_LITHIUM_X64_H_ 2494 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698