| 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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 public: | 1337 public: |
| 1338 explicit LConstantD(LOperand* temp) { | 1338 explicit LConstantD(LOperand* temp) { |
| 1339 temps_[0] = temp; | 1339 temps_[0] = temp; |
| 1340 } | 1340 } |
| 1341 | 1341 |
| 1342 LOperand* temp() { return temps_[0]; } | 1342 LOperand* temp() { return temps_[0]; } |
| 1343 | 1343 |
| 1344 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1344 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
| 1345 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1345 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1346 | 1346 |
| 1347 double value() const { return hydrogen()->DoubleValue(); } | 1347 uint64_t bits() const { return hydrogen()->DoubleValueAsBits(); } |
| 1348 }; | 1348 }; |
| 1349 | 1349 |
| 1350 | 1350 |
| 1351 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { | 1351 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1352 public: | 1352 public: |
| 1353 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") | 1353 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1354 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1354 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1355 | 1355 |
| 1356 ExternalReference value() const { | 1356 ExternalReference value() const { |
| 1357 return hydrogen()->ExternalReferenceValue(); | 1357 return hydrogen()->ExternalReferenceValue(); |
| (...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2872 | 2872 |
| 2873 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2873 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2874 }; | 2874 }; |
| 2875 | 2875 |
| 2876 #undef DECLARE_HYDROGEN_ACCESSOR | 2876 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2877 #undef DECLARE_CONCRETE_INSTRUCTION | 2877 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2878 | 2878 |
| 2879 } } // namespace v8::internal | 2879 } } // namespace v8::internal |
| 2880 | 2880 |
| 2881 #endif // V8_IA32_LITHIUM_IA32_H_ | 2881 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |