| 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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 public: | 1239 public: |
| 1240 explicit LCmpMapAndBranch(LOperand* value) { | 1240 explicit LCmpMapAndBranch(LOperand* value) { |
| 1241 inputs_[0] = value; | 1241 inputs_[0] = value; |
| 1242 } | 1242 } |
| 1243 | 1243 |
| 1244 LOperand* value() { return inputs_[0]; } | 1244 LOperand* value() { return inputs_[0]; } |
| 1245 | 1245 |
| 1246 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1246 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
| 1247 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1247 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
| 1248 | 1248 |
| 1249 Handle<Map> map() const { return hydrogen()->map(); } | 1249 Handle<Map> map() const { return hydrogen()->map().handle(); } |
| 1250 }; | 1250 }; |
| 1251 | 1251 |
| 1252 | 1252 |
| 1253 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1253 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1254 public: | 1254 public: |
| 1255 explicit LMapEnumLength(LOperand* value) { | 1255 explicit LMapEnumLength(LOperand* value) { |
| 1256 inputs_[0] = value; | 1256 inputs_[0] = value; |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 LOperand* value() { return inputs_[0]; } | 1259 LOperand* value() { return inputs_[0]; } |
| (...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2715 | 2715 |
| 2716 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2716 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2717 }; | 2717 }; |
| 2718 | 2718 |
| 2719 #undef DECLARE_HYDROGEN_ACCESSOR | 2719 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2720 #undef DECLARE_CONCRETE_INSTRUCTION | 2720 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2721 | 2721 |
| 2722 } } // namespace v8::int | 2722 } } // namespace v8::int |
| 2723 | 2723 |
| 2724 #endif // V8_X64_LITHIUM_X64_H_ | 2724 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |