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

Side by Side Diff: src/types.h

Issue 2255533003: [turbofan] Remove representation axis for float64 fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/compiler/js-native-context-specialization.cc ('k') | test/cctest/types-fuzz.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_TYPES_H_ 5 #ifndef V8_TYPES_H_
6 #define V8_TYPES_H_ 6 #define V8_TYPES_H_
7 7
8 #include "src/conversions.h" 8 #include "src/conversions.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 tuple->AsTuple()->InitElement(1, second); 744 tuple->AsTuple()->InitElement(1, second);
745 tuple->AsTuple()->InitElement(2, third); 745 tuple->AsTuple()->InitElement(2, third);
746 return tuple; 746 return tuple;
747 } 747 }
748 748
749 #define CONSTRUCT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) \ 749 #define CONSTRUCT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) \
750 static Type* Name(Isolate* isolate, Zone* zone); 750 static Type* Name(Isolate* isolate, Zone* zone);
751 SIMD128_TYPES(CONSTRUCT_SIMD_TYPE) 751 SIMD128_TYPES(CONSTRUCT_SIMD_TYPE)
752 #undef CONSTRUCT_SIMD_TYPE 752 #undef CONSTRUCT_SIMD_TYPE
753 753
754 static Type* Union(Type* type1, Type* type2, Zone* reg); 754 static Type* Union(Type* type1, Type* type2, Zone* zone);
755 static Type* Intersect(Type* type1, Type* type2, Zone* reg); 755 static Type* Intersect(Type* type1, Type* type2, Zone* zone);
756 756
757 static Type* Of(double value, Zone* zone) { 757 static Type* Of(double value, Zone* zone) {
758 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value))); 758 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value)));
759 } 759 }
760 static Type* Of(i::Object* value, Zone* zone) { 760 static Type* Of(i::Object* value, Zone* zone) {
761 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value))); 761 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value)));
762 } 762 }
763 static Type* Of(i::Handle<i::Object> value, Zone* zone) { 763 static Type* Of(i::Handle<i::Object> value, Zone* zone) {
764 return Of(*value, zone); 764 return Of(*value, zone);
765 } 765 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 973
974 bool Narrows(Bounds that) { 974 bool Narrows(Bounds that) {
975 return that.lower->Is(this->lower) && this->upper->Is(that.upper); 975 return that.lower->Is(this->lower) && this->upper->Is(that.upper);
976 } 976 }
977 }; 977 };
978 978
979 } // namespace internal 979 } // namespace internal
980 } // namespace v8 980 } // namespace v8
981 981
982 #endif // V8_TYPES_H_ 982 #endif // V8_TYPES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | test/cctest/types-fuzz.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698