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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 ElementsKind elements_kind() const { | 1384 ElementsKind elements_kind() const { |
1385 return hydrogen()->elements_kind(); | 1385 return hydrogen()->elements_kind(); |
1386 } | 1386 } |
1387 bool is_external() const { | 1387 bool is_external() const { |
1388 return hydrogen()->is_external(); | 1388 return hydrogen()->is_external(); |
1389 } | 1389 } |
1390 | 1390 |
1391 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") | 1391 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") |
1392 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) | 1392 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) |
1393 | 1393 |
| 1394 virtual void PrintDataTo(StringStream* stream); |
1394 uint32_t additional_index() const { return hydrogen()->index_offset(); } | 1395 uint32_t additional_index() const { return hydrogen()->index_offset(); } |
1395 }; | 1396 }; |
1396 | 1397 |
1397 | 1398 |
1398 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { | 1399 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { |
1399 public: | 1400 public: |
1400 LLoadKeyedGeneric(LOperand* object, LOperand* key) { | 1401 LLoadKeyedGeneric(LOperand* object, LOperand* key) { |
1401 inputs_[0] = object; | 1402 inputs_[0] = object; |
1402 inputs_[1] = key; | 1403 inputs_[1] = key; |
1403 } | 1404 } |
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2545 | 2546 |
2546 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2547 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2547 }; | 2548 }; |
2548 | 2549 |
2549 #undef DECLARE_HYDROGEN_ACCESSOR | 2550 #undef DECLARE_HYDROGEN_ACCESSOR |
2550 #undef DECLARE_CONCRETE_INSTRUCTION | 2551 #undef DECLARE_CONCRETE_INSTRUCTION |
2551 | 2552 |
2552 } } // namespace v8::internal | 2553 } } // namespace v8::internal |
2553 | 2554 |
2554 #endif // V8_ARM_LITHIUM_ARM_H_ | 2555 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |