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

Side by Side Diff: src/types.h

Issue 23503058: Hydrogen binop improvements (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix a comment Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 V(Number, kSigned32 | kUnsigned32 | kDouble) \ 121 V(Number, kSigned32 | kUnsigned32 | kDouble) \
122 V(String, kInternalizedString | kOtherString) \ 122 V(String, kInternalizedString | kOtherString) \
123 V(UniqueName, kSymbol | kInternalizedString) \ 123 V(UniqueName, kSymbol | kInternalizedString) \
124 V(Name, kSymbol | kString) \ 124 V(Name, kSymbol | kString) \
125 V(NumberOrString, kNumber | kString) \ 125 V(NumberOrString, kNumber | kString) \
126 V(Object, kUndetectable | kArray | kFunction | \ 126 V(Object, kUndetectable | kArray | kFunction | \
127 kRegExp | kOtherObject) \ 127 kRegExp | kOtherObject) \
128 V(Receiver, kObject | kProxy) \ 128 V(Receiver, kObject | kProxy) \
129 V(Allocated, kDouble | kName | kReceiver) \ 129 V(Allocated, kDouble | kName | kReceiver) \
130 V(Any, kOddball | kNumber | kAllocated | kInternal) \ 130 V(Any, kOddball | kNumber | kAllocated | kInternal) \
131 V(NonNumber, kAny - kNumber) \
131 V(Detectable, kAllocated - kUndetectable) 132 V(Detectable, kAllocated - kUndetectable)
132 133
133 #define TYPE_LIST(V) \ 134 #define TYPE_LIST(V) \
134 PRIMITIVE_TYPE_LIST(V) \ 135 PRIMITIVE_TYPE_LIST(V) \
135 COMPOSED_TYPE_LIST(V) 136 COMPOSED_TYPE_LIST(V)
136 137
137 138
138 139
139 class Type : public Object { 140 class Type : public Object {
140 public: 141 public:
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 return Bounds(handle(Type::Union(b.lower, t), isl), b.upper); 327 return Bounds(handle(Type::Union(b.lower, t), isl), b.upper);
327 } 328 }
328 static Bounds NarrowUpper(Bounds b, Handle<Type> t, Isolate* isl) { 329 static Bounds NarrowUpper(Bounds b, Handle<Type> t, Isolate* isl) {
329 return Bounds(b.lower, handle(Type::Intersect(b.upper, t), isl)); 330 return Bounds(b.lower, handle(Type::Intersect(b.upper, t), isl));
330 } 331 }
331 }; 332 };
332 333
333 } } // namespace v8::internal 334 } } // namespace v8::internal
334 335
335 #endif // V8_TYPES_H_ 336 #endif // V8_TYPES_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698