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

Side by Side Diff: src/types.cc

Issue 246993003: Fix issue with Map/SetIterator and types (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test 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 | test/mjsunit/regress/regress-3281.js » ('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 #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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 case JS_GENERATOR_OBJECT_TYPE: 219 case JS_GENERATOR_OBJECT_TYPE:
220 case JS_MODULE_TYPE: 220 case JS_MODULE_TYPE:
221 case JS_GLOBAL_OBJECT_TYPE: 221 case JS_GLOBAL_OBJECT_TYPE:
222 case JS_BUILTINS_OBJECT_TYPE: 222 case JS_BUILTINS_OBJECT_TYPE:
223 case JS_GLOBAL_PROXY_TYPE: 223 case JS_GLOBAL_PROXY_TYPE:
224 case JS_ARRAY_BUFFER_TYPE: 224 case JS_ARRAY_BUFFER_TYPE:
225 case JS_TYPED_ARRAY_TYPE: 225 case JS_TYPED_ARRAY_TYPE:
226 case JS_DATA_VIEW_TYPE: 226 case JS_DATA_VIEW_TYPE:
227 case JS_SET_TYPE: 227 case JS_SET_TYPE:
228 case JS_MAP_TYPE: 228 case JS_MAP_TYPE:
229 case JS_SET_ITERATOR_TYPE:
230 case JS_MAP_ITERATOR_TYPE:
229 case JS_WEAK_MAP_TYPE: 231 case JS_WEAK_MAP_TYPE:
230 case JS_WEAK_SET_TYPE: 232 case JS_WEAK_SET_TYPE:
231 if (map->is_undetectable()) return kUndetectable; 233 if (map->is_undetectable()) return kUndetectable;
232 return kOtherObject; 234 return kOtherObject;
233 case JS_ARRAY_TYPE: 235 case JS_ARRAY_TYPE:
234 return kArray; 236 return kArray;
235 case JS_FUNCTION_TYPE: 237 case JS_FUNCTION_TYPE:
236 return kFunction; 238 return kFunction;
237 case JS_REGEXP_TYPE: 239 case JS_REGEXP_TYPE:
238 return kRegExp; 240 return kRegExp;
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; 774 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>;
773 775
774 template TypeImpl<ZoneTypeConfig>::TypeHandle 776 template TypeImpl<ZoneTypeConfig>::TypeHandle
775 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 777 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
776 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 778 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
777 template TypeImpl<HeapTypeConfig>::TypeHandle 779 template TypeImpl<HeapTypeConfig>::TypeHandle
778 TypeImpl<HeapTypeConfig>::Convert<Type>( 780 TypeImpl<HeapTypeConfig>::Convert<Type>(
779 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 781 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
780 782
781 } } // namespace v8::internal 783 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-3281.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698