| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } | 1316 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } |
| 1317 }; | 1317 }; |
| 1318 | 1318 |
| 1319 | 1319 |
| 1320 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { | 1320 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1321 public: | 1321 public: |
| 1322 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1322 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
| 1323 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1323 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1324 | 1324 |
| 1325 double value() const { return hydrogen()->DoubleValue(); } | 1325 double value() const { return hydrogen()->DoubleValue(); } |
| 1326 uint64_t bits() const { return hydrogen()->DoubleValueAsBits(); } |
| 1326 }; | 1327 }; |
| 1327 | 1328 |
| 1328 | 1329 |
| 1329 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { | 1330 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1330 public: | 1331 public: |
| 1331 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") | 1332 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1332 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1333 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1333 | 1334 |
| 1334 ExternalReference value() const { | 1335 ExternalReference value() const { |
| 1335 return hydrogen()->ExternalReferenceValue(); | 1336 return hydrogen()->ExternalReferenceValue(); |
| (...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2837 | 2838 |
| 2838 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2839 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2839 }; | 2840 }; |
| 2840 | 2841 |
| 2841 #undef DECLARE_HYDROGEN_ACCESSOR | 2842 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2842 #undef DECLARE_CONCRETE_INSTRUCTION | 2843 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2843 | 2844 |
| 2844 } } // namespace v8::internal | 2845 } } // namespace v8::internal |
| 2845 | 2846 |
| 2846 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2847 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |