| 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 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2004 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 2004 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
| 2005 public: | 2005 public: |
| 2006 LSmiUntag(LOperand* value, bool needs_check) | 2006 LSmiUntag(LOperand* value, bool needs_check) |
| 2007 : needs_check_(needs_check) { | 2007 : needs_check_(needs_check) { |
| 2008 inputs_[0] = value; | 2008 inputs_[0] = value; |
| 2009 } | 2009 } |
| 2010 | 2010 |
| 2011 LOperand* value() { return inputs_[0]; } | 2011 LOperand* value() { return inputs_[0]; } |
| 2012 bool needs_check() const { return needs_check_; } | 2012 bool needs_check() const { return needs_check_; } |
| 2013 | 2013 |
| 2014 DECLARE_HYDROGEN_ACCESSOR(Change); |
| 2014 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") | 2015 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") |
| 2015 | 2016 |
| 2016 private: | 2017 private: |
| 2017 bool needs_check_; | 2018 bool needs_check_; |
| 2018 }; | 2019 }; |
| 2019 | 2020 |
| 2020 | 2021 |
| 2021 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { | 2022 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { |
| 2022 public: | 2023 public: |
| 2023 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { | 2024 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2714 | 2715 |
| 2715 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2716 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2716 }; | 2717 }; |
| 2717 | 2718 |
| 2718 #undef DECLARE_HYDROGEN_ACCESSOR | 2719 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2719 #undef DECLARE_CONCRETE_INSTRUCTION | 2720 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2720 | 2721 |
| 2721 } } // namespace v8::int | 2722 } } // namespace v8::int |
| 2722 | 2723 |
| 2723 #endif // V8_X64_LITHIUM_X64_H_ | 2724 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |