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

Side by Side Diff: src/types.h

Issue 2308463002: Merged: [turbofan] Remove representation axis for float64 fields. (Closed)
Patch Set: Created 4 years, 3 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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 tuple->AsTuple()->InitElement(1, second); 736 tuple->AsTuple()->InitElement(1, second);
737 tuple->AsTuple()->InitElement(2, third); 737 tuple->AsTuple()->InitElement(2, third);
738 return tuple; 738 return tuple;
739 } 739 }
740 740
741 #define CONSTRUCT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) \ 741 #define CONSTRUCT_SIMD_TYPE(NAME, Name, name, lane_count, lane_type) \
742 static Type* Name(Isolate* isolate, Zone* zone); 742 static Type* Name(Isolate* isolate, Zone* zone);
743 SIMD128_TYPES(CONSTRUCT_SIMD_TYPE) 743 SIMD128_TYPES(CONSTRUCT_SIMD_TYPE)
744 #undef CONSTRUCT_SIMD_TYPE 744 #undef CONSTRUCT_SIMD_TYPE
745 745
746 static Type* Union(Type* type1, Type* type2, Zone* reg); 746 static Type* Union(Type* type1, Type* type2, Zone* zone);
747 static Type* Intersect(Type* type1, Type* type2, Zone* reg); 747 static Type* Intersect(Type* type1, Type* type2, Zone* zone);
748 748
749 static Type* Of(double value, Zone* zone) { 749 static Type* Of(double value, Zone* zone) {
750 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value))); 750 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value)));
751 } 751 }
752 static Type* Of(i::Object* value, Zone* zone) { 752 static Type* Of(i::Object* value, Zone* zone) {
753 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value))); 753 return BitsetType::New(BitsetType::ExpandInternals(BitsetType::Lub(value)));
754 } 754 }
755 static Type* Of(i::Handle<i::Object> value, Zone* zone) { 755 static Type* Of(i::Handle<i::Object> value, Zone* zone) {
756 return Of(*value, zone); 756 return Of(*value, zone);
757 } 757 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 965
966 bool Narrows(Bounds that) { 966 bool Narrows(Bounds that) {
967 return that.lower->Is(this->lower) && this->upper->Is(that.upper); 967 return that.lower->Is(this->lower) && this->upper->Is(that.upper);
968 } 968 }
969 }; 969 };
970 970
971 } // namespace internal 971 } // namespace internal
972 } // namespace v8 972 } // namespace v8
973 973
974 #endif // V8_TYPES_H_ 974 #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