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

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

Issue 5767002: Merge math function ids and custom call generator ids. (Closed)
Patch Set: arm and x64 fixes. Created 10 years 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 663
664 class LUnaryMathOperation: public LUnaryOperation { 664 class LUnaryMathOperation: public LUnaryOperation {
665 public: 665 public:
666 explicit LUnaryMathOperation(LOperand* value) 666 explicit LUnaryMathOperation(LOperand* value)
667 : LUnaryOperation(value) { } 667 : LUnaryOperation(value) { }
668 668
669 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation") 669 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation")
670 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) 670 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
671 671
672 virtual void PrintDataTo(StringStream* stream) const; 672 virtual void PrintDataTo(StringStream* stream) const;
673 MathFunctionId op() const { return hydrogen()->op(); } 673 BuiltinFunctionId op() const { return hydrogen()->op(); }
674 }; 674 };
675 675
676 676
677 class LCmpJSObjectEq: public LBinaryOperation { 677 class LCmpJSObjectEq: public LBinaryOperation {
678 public: 678 public:
679 LCmpJSObjectEq(LOperand* left, LOperand* right) 679 LCmpJSObjectEq(LOperand* left, LOperand* right)
680 : LBinaryOperation(left, right) {} 680 : LBinaryOperation(left, right) {}
681 681
682 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEq, "cmp-jsobject-eq") 682 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEq, "cmp-jsobject-eq")
683 }; 683 };
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2073 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2074 }; 2074 };
2075 2075
2076 #undef DECLARE_HYDROGEN_ACCESSOR 2076 #undef DECLARE_HYDROGEN_ACCESSOR
2077 #undef DECLARE_INSTRUCTION 2077 #undef DECLARE_INSTRUCTION
2078 #undef DECLARE_CONCRETE_INSTRUCTION 2078 #undef DECLARE_CONCRETE_INSTRUCTION
2079 2079
2080 } } // namespace v8::internal 2080 } } // namespace v8::internal
2081 2081
2082 #endif // V8_IA32_LITHIUM_IA32_H_ 2082 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.cc » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698