| OLD | NEW |
| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 V(InstanceSize) \ | 108 V(InstanceSize) \ |
| 109 V(InstructionGap) \ | 109 V(InstructionGap) \ |
| 110 V(Integer32ToDouble) \ | 110 V(Integer32ToDouble) \ |
| 111 V(Integer32ToSmi) \ | 111 V(Integer32ToSmi) \ |
| 112 V(Uint32ToDouble) \ | 112 V(Uint32ToDouble) \ |
| 113 V(InvokeFunction) \ | 113 V(InvokeFunction) \ |
| 114 V(IsConstructCallAndBranch) \ | 114 V(IsConstructCallAndBranch) \ |
| 115 V(IsObjectAndBranch) \ | 115 V(IsObjectAndBranch) \ |
| 116 V(IsStringAndBranch) \ | 116 V(IsStringAndBranch) \ |
| 117 V(IsSmiAndBranch) \ | 117 V(IsSmiAndBranch) \ |
| 118 V(IsNumberAndBranch) \ |
| 118 V(IsUndetectableAndBranch) \ | 119 V(IsUndetectableAndBranch) \ |
| 119 V(Label) \ | 120 V(Label) \ |
| 120 V(LazyBailout) \ | 121 V(LazyBailout) \ |
| 121 V(LoadContextSlot) \ | 122 V(LoadContextSlot) \ |
| 122 V(LoadExternalArrayPointer) \ | 123 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFunctionPrototype) \ | 124 V(LoadFunctionPrototype) \ |
| 124 V(LoadGlobalCell) \ | 125 V(LoadGlobalCell) \ |
| 125 V(LoadGlobalGeneric) \ | 126 V(LoadGlobalGeneric) \ |
| 126 V(LoadKeyed) \ | 127 V(LoadKeyed) \ |
| 127 V(LoadKeyedGeneric) \ | 128 V(LoadKeyedGeneric) \ |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 | 878 |
| 878 LOperand* value() { return inputs_[0]; } | 879 LOperand* value() { return inputs_[0]; } |
| 879 LOperand* temp() { return temps_[0]; } | 880 LOperand* temp() { return temps_[0]; } |
| 880 | 881 |
| 881 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 882 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
| 882 | 883 |
| 883 virtual void PrintDataTo(StringStream* stream); | 884 virtual void PrintDataTo(StringStream* stream); |
| 884 }; | 885 }; |
| 885 | 886 |
| 886 | 887 |
| 888 class LIsNumberAndBranch: public LControlInstruction<1, 0> { |
| 889 public: |
| 890 explicit LIsNumberAndBranch(LOperand* value) { |
| 891 inputs_[0] = value; |
| 892 } |
| 893 |
| 894 LOperand* value() { return inputs_[0]; } |
| 895 |
| 896 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") |
| 897 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) |
| 898 }; |
| 899 |
| 900 |
| 887 class LIsStringAndBranch: public LControlInstruction<1, 1> { | 901 class LIsStringAndBranch: public LControlInstruction<1, 1> { |
| 888 public: | 902 public: |
| 889 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 903 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 890 inputs_[0] = value; | 904 inputs_[0] = value; |
| 891 temps_[0] = temp; | 905 temps_[0] = temp; |
| 892 } | 906 } |
| 893 | 907 |
| 894 LOperand* value() { return inputs_[0]; } | 908 LOperand* value() { return inputs_[0]; } |
| 895 LOperand* temp() { return temps_[0]; } | 909 LOperand* temp() { return temps_[0]; } |
| 896 | 910 |
| (...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2998 | 3012 |
| 2999 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3013 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3000 }; | 3014 }; |
| 3001 | 3015 |
| 3002 #undef DECLARE_HYDROGEN_ACCESSOR | 3016 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3003 #undef DECLARE_CONCRETE_INSTRUCTION | 3017 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3004 | 3018 |
| 3005 } } // namespace v8::internal | 3019 } } // namespace v8::internal |
| 3006 | 3020 |
| 3007 #endif // V8_IA32_LITHIUM_IA32_H_ | 3021 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |