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

Side by Side Diff: src/types.cc

Issue 257523002: Treat FOREIGN_TYPE as internal. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 | « no previous file | 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 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 #include "types.h" 5 #include "types.h"
6 6
7 #include "string-stream.h" 7 #include "string-stream.h"
8 #include "types-inl.h" 8 #include "types-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // we must exclude Undetectable here. This makes no sense, really, 249 // we must exclude Undetectable here. This makes no sense, really,
250 // because it means that the template isn't actually parametric. 250 // because it means that the template isn't actually parametric.
251 // Also, it doesn't apply elsewhere. 8-( 251 // Also, it doesn't apply elsewhere. 8-(
252 // We ought to find a cleaner solution for compiling stubs parameterised 252 // We ought to find a cleaner solution for compiling stubs parameterised
253 // over type or class variables, esp ones with bounds... 253 // over type or class variables, esp ones with bounds...
254 return kDetectable; 254 return kDetectable;
255 case DECLARED_ACCESSOR_INFO_TYPE: 255 case DECLARED_ACCESSOR_INFO_TYPE:
256 case EXECUTABLE_ACCESSOR_INFO_TYPE: 256 case EXECUTABLE_ACCESSOR_INFO_TYPE:
257 case ACCESSOR_PAIR_TYPE: 257 case ACCESSOR_PAIR_TYPE:
258 case FIXED_ARRAY_TYPE: 258 case FIXED_ARRAY_TYPE:
259 case FOREIGN_TYPE:
259 return kInternal & kTaggedPtr; 260 return kInternal & kTaggedPtr;
260 default: 261 default:
261 UNREACHABLE(); 262 UNREACHABLE();
262 return kNone; 263 return kNone;
263 } 264 }
264 } 265 }
265 266
266 267
267 // Most precise _current_ type of a value (usually its class). 268 // Most precise _current_ type of a value (usually its class).
268 template<class Config> 269 template<class Config>
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; 775 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>;
775 776
776 template TypeImpl<ZoneTypeConfig>::TypeHandle 777 template TypeImpl<ZoneTypeConfig>::TypeHandle
777 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 778 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
778 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 779 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
779 template TypeImpl<HeapTypeConfig>::TypeHandle 780 template TypeImpl<HeapTypeConfig>::TypeHandle
780 TypeImpl<HeapTypeConfig>::Convert<Type>( 781 TypeImpl<HeapTypeConfig>::Convert<Type>(
781 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 782 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
782 783
783 } } // namespace v8::internal 784 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698