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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } | 1353 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } |
1354 }; | 1354 }; |
1355 | 1355 |
1356 | 1356 |
1357 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { | 1357 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { |
1358 public: | 1358 public: |
1359 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1359 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
1360 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1360 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1361 | 1361 |
1362 double value() const { return hydrogen()->DoubleValue(); } | 1362 double value() const { return hydrogen()->DoubleValue(); } |
| 1363 uint64_t bits() const { return hydrogen()->DoubleValueAsBits(); } |
1363 }; | 1364 }; |
1364 | 1365 |
1365 | 1366 |
1366 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { | 1367 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { |
1367 public: | 1368 public: |
1368 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") | 1369 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
1369 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1370 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1370 | 1371 |
1371 ExternalReference value() const { | 1372 ExternalReference value() const { |
1372 return hydrogen()->ExternalReferenceValue(); | 1373 return hydrogen()->ExternalReferenceValue(); |
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2879 | 2880 |
2880 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2881 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2881 }; | 2882 }; |
2882 | 2883 |
2883 #undef DECLARE_HYDROGEN_ACCESSOR | 2884 #undef DECLARE_HYDROGEN_ACCESSOR |
2884 #undef DECLARE_CONCRETE_INSTRUCTION | 2885 #undef DECLARE_CONCRETE_INSTRUCTION |
2885 | 2886 |
2886 } } // namespace v8::internal | 2887 } } // namespace v8::internal |
2887 | 2888 |
2888 #endif // V8_ARM_LITHIUM_ARM_H_ | 2889 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |