| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 V(InstanceOfKnownGlobal) \ | 107 V(InstanceOfKnownGlobal) \ |
| 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(InvokeFunction) \ | 112 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 114 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 115 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 116 V(IsSmiAndBranch) \ |
| 117 V(IsNumberAndBranch) \ | |
| 118 V(IsUndetectableAndBranch) \ | 117 V(IsUndetectableAndBranch) \ |
| 119 V(Label) \ | 118 V(Label) \ |
| 120 V(LazyBailout) \ | 119 V(LazyBailout) \ |
| 121 V(LoadContextSlot) \ | 120 V(LoadContextSlot) \ |
| 122 V(LoadExternalArrayPointer) \ | 121 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFieldByIndex) \ | 122 V(LoadFieldByIndex) \ |
| 124 V(LoadFunctionPrototype) \ | 123 V(LoadFunctionPrototype) \ |
| 125 V(LoadGlobalCell) \ | 124 V(LoadGlobalCell) \ |
| 126 V(LoadGlobalGeneric) \ | 125 V(LoadGlobalGeneric) \ |
| 127 V(LoadKeyed) \ | 126 V(LoadKeyed) \ |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 | 875 |
| 877 LOperand* value() { return inputs_[0]; } | 876 LOperand* value() { return inputs_[0]; } |
| 878 | 877 |
| 879 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 878 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
| 880 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | 879 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) |
| 881 | 880 |
| 882 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 881 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 883 }; | 882 }; |
| 884 | 883 |
| 885 | 884 |
| 886 class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> { | |
| 887 public: | |
| 888 explicit LIsNumberAndBranch(LOperand* value) { | |
| 889 inputs_[0] = value; | |
| 890 } | |
| 891 | |
| 892 LOperand* value() { return inputs_[0]; } | |
| 893 | |
| 894 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
| 895 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
| 896 }; | |
| 897 | |
| 898 | |
| 899 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { | 885 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 900 public: | 886 public: |
| 901 explicit LIsStringAndBranch(LOperand* value, LOperand* temp) { | 887 explicit LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 902 inputs_[0] = value; | 888 inputs_[0] = value; |
| 903 temps_[0] = temp; | 889 temps_[0] = temp; |
| 904 } | 890 } |
| 905 | 891 |
| 906 LOperand* value() { return inputs_[0]; } | 892 LOperand* value() { return inputs_[0]; } |
| 907 LOperand* temp() { return temps_[0]; } | 893 LOperand* temp() { return temps_[0]; } |
| 908 | 894 |
| (...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2719 | 2705 |
| 2720 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2706 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2721 }; | 2707 }; |
| 2722 | 2708 |
| 2723 #undef DECLARE_HYDROGEN_ACCESSOR | 2709 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2724 #undef DECLARE_CONCRETE_INSTRUCTION | 2710 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2725 | 2711 |
| 2726 } } // namespace v8::int | 2712 } } // namespace v8::int |
| 2727 | 2713 |
| 2728 #endif // V8_X64_LITHIUM_X64_H_ | 2714 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |