Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: src/x87/lithium-x87.h

Issue 895473002: x87: Use signaling NaN for holes in fixed double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 1343
1344 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } 1344 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); }
1345 }; 1345 };
1346 1346
1347 1347
1348 class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> { 1348 class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> {
1349 public: 1349 public:
1350 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") 1350 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
1351 DECLARE_HYDROGEN_ACCESSOR(Constant) 1351 DECLARE_HYDROGEN_ACCESSOR(Constant)
1352 1352
1353 double value() const { return hydrogen()->DoubleValue(); } 1353 uint64_t bits() const { return hydrogen()->DoubleValueAsBits(); }
1354 }; 1354 };
1355 1355
1356 1356
1357 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { 1357 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> {
1358 public: 1358 public:
1359 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") 1359 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e")
1360 DECLARE_HYDROGEN_ACCESSOR(Constant) 1360 DECLARE_HYDROGEN_ACCESSOR(Constant)
1361 1361
1362 ExternalReference value() const { 1362 ExternalReference value() const {
1363 return hydrogen()->ExternalReferenceValue(); 1363 return hydrogen()->ExternalReferenceValue();
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2884 2884
2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2886 }; 2886 };
2887 2887
2888 #undef DECLARE_HYDROGEN_ACCESSOR 2888 #undef DECLARE_HYDROGEN_ACCESSOR
2889 #undef DECLARE_CONCRETE_INSTRUCTION 2889 #undef DECLARE_CONCRETE_INSTRUCTION
2890 2890
2891 } } // namespace v8::internal 2891 } } // namespace v8::internal
2892 2892
2893 #endif // V8_X87_LITHIUM_X87_H_ 2893 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698