| 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 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1279 inputs_[0] = value; | 1279 inputs_[0] = value; |
| 1280 temps_[0] = temp; | 1280 temps_[0] = temp; |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 LOperand* value() { return inputs_[0]; } | 1283 LOperand* value() { return inputs_[0]; } |
| 1284 LOperand* temp() { return temps_[0]; } | 1284 LOperand* temp() { return temps_[0]; } |
| 1285 | 1285 |
| 1286 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1286 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
| 1287 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1287 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
| 1288 | 1288 |
| 1289 Handle<Map> map() const { return hydrogen()->map(); } | 1289 Handle<Map> map() const { return hydrogen()->map().handle(); } |
| 1290 }; | 1290 }; |
| 1291 | 1291 |
| 1292 | 1292 |
| 1293 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1293 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1294 public: | 1294 public: |
| 1295 explicit LMapEnumLength(LOperand* value) { | 1295 explicit LMapEnumLength(LOperand* value) { |
| 1296 inputs_[0] = value; | 1296 inputs_[0] = value; |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 LOperand* value() { return inputs_[0]; } | 1299 LOperand* value() { return inputs_[0]; } |
| (...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2757 | 2757 |
| 2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2759 }; | 2759 }; |
| 2760 | 2760 |
| 2761 #undef DECLARE_HYDROGEN_ACCESSOR | 2761 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2762 #undef DECLARE_CONCRETE_INSTRUCTION | 2762 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2763 | 2763 |
| 2764 } } // namespace v8::internal | 2764 } } // namespace v8::internal |
| 2765 | 2765 |
| 2766 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2766 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |