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 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2115 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 2115 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
2116 public: | 2116 public: |
2117 LSmiUntag(LOperand* value, bool needs_check) | 2117 LSmiUntag(LOperand* value, bool needs_check) |
2118 : needs_check_(needs_check) { | 2118 : needs_check_(needs_check) { |
2119 inputs_[0] = value; | 2119 inputs_[0] = value; |
2120 } | 2120 } |
2121 | 2121 |
2122 LOperand* value() { return inputs_[0]; } | 2122 LOperand* value() { return inputs_[0]; } |
2123 bool needs_check() const { return needs_check_; } | 2123 bool needs_check() const { return needs_check_; } |
2124 | 2124 |
2125 DECLARE_HYDROGEN_ACCESSOR(Change); | |
2126 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") | 2125 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") |
2127 | 2126 |
2128 private: | 2127 private: |
2129 bool needs_check_; | 2128 bool needs_check_; |
2130 }; | 2129 }; |
2131 | 2130 |
2132 | 2131 |
2133 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { | 2132 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { |
2134 public: | 2133 public: |
2135 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { | 2134 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2868 | 2867 |
2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2868 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2870 }; | 2869 }; |
2871 | 2870 |
2872 #undef DECLARE_HYDROGEN_ACCESSOR | 2871 #undef DECLARE_HYDROGEN_ACCESSOR |
2873 #undef DECLARE_CONCRETE_INSTRUCTION | 2872 #undef DECLARE_CONCRETE_INSTRUCTION |
2874 | 2873 |
2875 } } // namespace v8::internal | 2874 } } // namespace v8::internal |
2876 | 2875 |
2877 #endif // V8_ARM_LITHIUM_ARM_H_ | 2876 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |