| 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 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 2146 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
| 2147 public: | 2147 public: |
| 2148 LSmiUntag(LOperand* value, bool needs_check) | 2148 LSmiUntag(LOperand* value, bool needs_check) |
| 2149 : needs_check_(needs_check) { | 2149 : needs_check_(needs_check) { |
| 2150 inputs_[0] = value; | 2150 inputs_[0] = value; |
| 2151 } | 2151 } |
| 2152 | 2152 |
| 2153 LOperand* value() { return inputs_[0]; } | 2153 LOperand* value() { return inputs_[0]; } |
| 2154 | 2154 |
| 2155 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") | 2155 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") |
| 2156 DECLARE_HYDROGEN_ACCESSOR(Change); |
| 2156 | 2157 |
| 2157 bool needs_check() const { return needs_check_; } | 2158 bool needs_check() const { return needs_check_; } |
| 2158 | 2159 |
| 2159 private: | 2160 private: |
| 2160 bool needs_check_; | 2161 bool needs_check_; |
| 2161 }; | 2162 }; |
| 2162 | 2163 |
| 2163 | 2164 |
| 2164 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { | 2165 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { |
| 2165 public: | 2166 public: |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2945 | 2946 |
| 2946 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2947 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2947 }; | 2948 }; |
| 2948 | 2949 |
| 2949 #undef DECLARE_HYDROGEN_ACCESSOR | 2950 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2950 #undef DECLARE_CONCRETE_INSTRUCTION | 2951 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2951 | 2952 |
| 2952 } } // namespace v8::internal | 2953 } } // namespace v8::internal |
| 2953 | 2954 |
| 2954 #endif // V8_IA32_LITHIUM_IA32_H_ | 2955 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |