| 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 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1345 ElementsKind elements_kind() const { | 1345 ElementsKind elements_kind() const { |
| 1346 return hydrogen()->elements_kind(); | 1346 return hydrogen()->elements_kind(); |
| 1347 } | 1347 } |
| 1348 bool is_external() const { | 1348 bool is_external() const { |
| 1349 return hydrogen()->is_external(); | 1349 return hydrogen()->is_external(); |
| 1350 } | 1350 } |
| 1351 | 1351 |
| 1352 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") | 1352 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") |
| 1353 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) | 1353 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) |
| 1354 | 1354 |
| 1355 virtual void PrintDataTo(StringStream* stream); |
| 1355 uint32_t additional_index() const { return hydrogen()->index_offset(); } | 1356 uint32_t additional_index() const { return hydrogen()->index_offset(); } |
| 1356 }; | 1357 }; |
| 1357 | 1358 |
| 1358 | 1359 |
| 1359 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { | 1360 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { |
| 1360 public: | 1361 public: |
| 1361 LLoadKeyedGeneric(LOperand* object, LOperand* key) { | 1362 LLoadKeyedGeneric(LOperand* object, LOperand* key) { |
| 1362 inputs_[0] = object; | 1363 inputs_[0] = object; |
| 1363 inputs_[1] = key; | 1364 inputs_[1] = key; |
| 1364 } | 1365 } |
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2501 | 2502 |
| 2502 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2503 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2503 }; | 2504 }; |
| 2504 | 2505 |
| 2505 #undef DECLARE_HYDROGEN_ACCESSOR | 2506 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2506 #undef DECLARE_CONCRETE_INSTRUCTION | 2507 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2507 | 2508 |
| 2508 } } // namespace v8::internal | 2509 } } // namespace v8::internal |
| 2509 | 2510 |
| 2510 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2511 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |