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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 inputs_[0] = value; | 1298 inputs_[0] = value; |
1299 temps_[0] = temp; | 1299 temps_[0] = temp; |
1300 } | 1300 } |
1301 | 1301 |
1302 LOperand* value() { return inputs_[0]; } | 1302 LOperand* value() { return inputs_[0]; } |
1303 LOperand* temp() { return temps_[0]; } | 1303 LOperand* temp() { return temps_[0]; } |
1304 | 1304 |
1305 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1305 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
1306 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1306 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
1307 | 1307 |
1308 Handle<Map> map() const { return hydrogen()->map(); } | 1308 Handle<Map> map() const { return hydrogen()->map().handle(); } |
1309 }; | 1309 }; |
1310 | 1310 |
1311 | 1311 |
1312 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1312 class LMapEnumLength V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1313 public: | 1313 public: |
1314 explicit LMapEnumLength(LOperand* value) { | 1314 explicit LMapEnumLength(LOperand* value) { |
1315 inputs_[0] = value; | 1315 inputs_[0] = value; |
1316 } | 1316 } |
1317 | 1317 |
1318 LOperand* value() { return inputs_[0]; } | 1318 LOperand* value() { return inputs_[0]; } |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2792 | 2792 |
2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2793 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2794 }; | 2794 }; |
2795 | 2795 |
2796 #undef DECLARE_HYDROGEN_ACCESSOR | 2796 #undef DECLARE_HYDROGEN_ACCESSOR |
2797 #undef DECLARE_CONCRETE_INSTRUCTION | 2797 #undef DECLARE_CONCRETE_INSTRUCTION |
2798 | 2798 |
2799 } } // namespace v8::internal | 2799 } } // namespace v8::internal |
2800 | 2800 |
2801 #endif // V8_ARM_LITHIUM_ARM_H_ | 2801 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |