| 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 2164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2175 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 2175 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
| 2176 public: | 2176 public: |
| 2177 LSmiUntag(LOperand* value, bool needs_check) | 2177 LSmiUntag(LOperand* value, bool needs_check) |
| 2178 : needs_check_(needs_check) { | 2178 : needs_check_(needs_check) { |
| 2179 inputs_[0] = value; | 2179 inputs_[0] = value; |
| 2180 } | 2180 } |
| 2181 | 2181 |
| 2182 LOperand* value() { return inputs_[0]; } | 2182 LOperand* value() { return inputs_[0]; } |
| 2183 | 2183 |
| 2184 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") | 2184 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") |
| 2185 DECLARE_HYDROGEN_ACCESSOR(Change); | |
| 2186 | 2185 |
| 2187 bool needs_check() const { return needs_check_; } | 2186 bool needs_check() const { return needs_check_; } |
| 2188 | 2187 |
| 2189 private: | 2188 private: |
| 2190 bool needs_check_; | 2189 bool needs_check_; |
| 2191 }; | 2190 }; |
| 2192 | 2191 |
| 2193 | 2192 |
| 2194 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { | 2193 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { |
| 2195 public: | 2194 public: |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2987 | 2986 |
| 2988 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2987 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2989 }; | 2988 }; |
| 2990 | 2989 |
| 2991 #undef DECLARE_HYDROGEN_ACCESSOR | 2990 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2992 #undef DECLARE_CONCRETE_INSTRUCTION | 2991 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2993 | 2992 |
| 2994 } } // namespace v8::internal | 2993 } } // namespace v8::internal |
| 2995 | 2994 |
| 2996 #endif // V8_IA32_LITHIUM_IA32_H_ | 2995 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |