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

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

Issue 22152003: Never hchange nan-hole to hole or hole to nan-hole. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also change in header Created 7 years, 4 months 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 | « no previous file | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 V(CheckNonSmi) \ 67 V(CheckNonSmi) \
68 V(CheckMaps) \ 68 V(CheckMaps) \
69 V(CheckMapValue) \ 69 V(CheckMapValue) \
70 V(CheckSmi) \ 70 V(CheckSmi) \
71 V(ClampDToUint8) \ 71 V(ClampDToUint8) \
72 V(ClampIToUint8) \ 72 V(ClampIToUint8) \
73 V(ClampTToUint8) \ 73 V(ClampTToUint8) \
74 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
75 V(CompareNumericAndBranch) \ 75 V(CompareNumericAndBranch) \
76 V(CmpObjectEqAndBranch) \ 76 V(CmpObjectEqAndBranch) \
77 V(CmpHoleAndBranch) \
77 V(CmpMapAndBranch) \ 78 V(CmpMapAndBranch) \
78 V(CmpT) \ 79 V(CmpT) \
79 V(ConstantD) \ 80 V(ConstantD) \
80 V(ConstantE) \ 81 V(ConstantE) \
81 V(ConstantI) \ 82 V(ConstantI) \
82 V(ConstantS) \ 83 V(ConstantS) \
83 V(ConstantT) \ 84 V(ConstantT) \
84 V(Context) \ 85 V(Context) \
85 V(DateField) \ 86 V(DateField) \
86 V(DebugBreak) \ 87 V(DebugBreak) \
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { 873 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> {
873 public: 874 public:
874 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { 875 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) {
875 inputs_[0] = left; 876 inputs_[0] = left;
876 inputs_[1] = right; 877 inputs_[1] = right;
877 } 878 }
878 879
879 LOperand* left() { return inputs_[0]; } 880 LOperand* left() { return inputs_[0]; }
880 LOperand* right() { return inputs_[1]; } 881 LOperand* right() { return inputs_[1]; }
881 882
882 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, 883 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, "cmp-object-eq-and-branch")
883 "cmp-object-eq-and-branch")
884 DECLARE_HYDROGEN_ACCESSOR(CompareObjectEqAndBranch) 884 DECLARE_HYDROGEN_ACCESSOR(CompareObjectEqAndBranch)
885 }; 885 };
886 886
887 887
888 class LCmpHoleAndBranch: public LControlInstruction<1, 0> {
889 public:
890 explicit LCmpHoleAndBranch(LOperand* object) {
891 inputs_[0] = object;
892 }
893
894 LOperand* object() { return inputs_[0]; }
895
896 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch")
897 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch)
898 };
899
900
888 class LIsObjectAndBranch: public LControlInstruction<1, 1> { 901 class LIsObjectAndBranch: public LControlInstruction<1, 1> {
889 public: 902 public:
890 LIsObjectAndBranch(LOperand* value, LOperand* temp) { 903 LIsObjectAndBranch(LOperand* value, LOperand* temp) {
891 inputs_[0] = value; 904 inputs_[0] = value;
892 temps_[0] = temp; 905 temps_[0] = temp;
893 } 906 }
894 907
895 LOperand* value() { return inputs_[0]; } 908 LOperand* value() { return inputs_[0]; }
896 LOperand* temp() { return temps_[0]; } 909 LOperand* temp() { return temps_[0]; }
897 910
(...skipping 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2746 2759
2747 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2760 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2748 }; 2761 };
2749 2762
2750 #undef DECLARE_HYDROGEN_ACCESSOR 2763 #undef DECLARE_HYDROGEN_ACCESSOR
2751 #undef DECLARE_CONCRETE_INSTRUCTION 2764 #undef DECLARE_CONCRETE_INSTRUCTION
2752 2765
2753 } } // namespace v8::internal 2766 } } // namespace v8::internal
2754 2767
2755 #endif // V8_ARM_LITHIUM_ARM_H_ 2768 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698